{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder\FPA_replication_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}26 Apr 2020, 18:29:21
{txt}
{com}. ****************************************
. 
. 
. 
. 
. 
. 
. 
. use fdifinal_regression, clear
{txt}
{com}. 
. global c1 = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify preconflictfdi politydem lnbanks lnduration intensity"
{txt}
{com}. 
. /*
> gen dv1 = lnfdiUNt1 
> gen dv2 = lnfdiUNt12
> gen dv3 = lnfdiUNt123
> gen dv4 = lnfdiUNt1234
> gen dv5 = lnfdiUNt12345
> 
> gen dv1_2 = ln2fdiUNt1 
> gen dv2_2 = ln2fdiUNt12
> gen dv3_2 = ln2fdiUNt123
> */
. 
. 
. 
. 
. *** Table 1 ***
. *** Table 1 ***
. *** Table 1 ***
. 
. xtscc dv1 terminate $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    39{txt}){col 68}={res} 412107.21
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2937

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv1{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}terminate {c |}{col 14}{res}{space 2} .0176975{col 26}{space 2} .0414349{col 37}{space 1}    0.43{col 46}{space 3}0.672{col 54}{space 4}-.0661125{col 67}{space 3} .1015075
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .3731227{col 26}{space 2} .1359015{col 37}{space 1}    2.75{col 46}{space 3}0.009{col 54}{space 4}  .098236{col 67}{space 3} .6480094
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2}-.3764106{col 26}{space 2} .2375526{col 37}{space 1}   -1.58{col 46}{space 3}0.121{col 54}{space 4}-.8569062{col 67}{space 3}  .104085
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2}  .006104{col 26}{space 2}  .003293{col 37}{space 1}    1.85{col 46}{space 3}0.071{col 54}{space 4}-.0005566{col 67}{space 3} .0127647
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0074559{col 26}{space 2} .0036312{col 37}{space 1}    2.05{col 46}{space 3}0.047{col 54}{space 4} .0001112{col 67}{space 3} .0148007
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2} .0078516{col 26}{space 2}   .01442{col 37}{space 1}    0.54{col 46}{space 3}0.589{col 54}{space 4}-.0213156{col 67}{space 3} .0370188
{txt}{space 4}resource {c |}{col 14}{res}{space 2} .0071113{col 26}{space 2} .0022865{col 37}{space 1}    3.11{col 46}{space 3}0.003{col 54}{space 4} .0024864{col 67}{space 3} .0117363
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2} .0140478{col 26}{space 2} .0043746{col 37}{space 1}    3.21{col 46}{space 3}0.003{col 54}{space 4} .0051992{col 67}{space 3} .0228964
{txt}preconflic~i {c |}{col 14}{res}{space 2} 1.086602{col 26}{space 2} .2438858{col 37}{space 1}    4.46{col 46}{space 3}0.000{col 54}{space 4} .5932967{col 67}{space 3} 1.579908
{txt}{space 3}politydem {c |}{col 14}{res}{space 2} .0377864{col 26}{space 2} .0882728{col 37}{space 1}    0.43{col 46}{space 3}0.671{col 54}{space 4}-.1407621{col 67}{space 3} .2163349
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0148038{col 26}{space 2} .0056338{col 37}{space 1}   -2.63{col 46}{space 3}0.012{col 54}{space 4}-.0261992{col 67}{space 3}-.0034084
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0935699{col 26}{space 2} .0488839{col 37}{space 1}    1.91{col 46}{space 3}0.063{col 54}{space 4}-.0053072{col 67}{space 3}  .192447
{txt}{space 3}intensity {c |}{col 14}{res}{space 2}-.0150415{col 26}{space 2}  .020635{col 37}{space 1}   -0.73{col 46}{space 3}0.470{col 54}{space 4}-.0567796{col 67}{space 3} .0266966
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table1, word excel addstat(R-squared, `e(r2_w)') label dec(3) replace 
{txt}{stata `"shellout using `"table1.rtf"'"':table1.rtf}
{browse `"table1.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table1.txt", label"':seeout}

{com}. xtscc dv2 terminate $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    38{txt}){col 68}={res} 302316.44
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4058

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}terminate {c |}{col 14}{res}{space 2} .0458378{col 26}{space 2} .0290449{col 37}{space 1}    1.58{col 46}{space 3}0.123{col 54}{space 4}-.0129605{col 67}{space 3}  .104636
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .2747246{col 26}{space 2} .1546156{col 37}{space 1}    1.78{col 46}{space 3}0.084{col 54}{space 4}-.0382783{col 67}{space 3} .5877275
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2}-.2414693{col 26}{space 2} .1765181{col 37}{space 1}   -1.37{col 46}{space 3}0.179{col 54}{space 4}-.5988115{col 67}{space 3} .1158729
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2} .0111392{col 26}{space 2} .0055834{col 37}{space 1}    2.00{col 46}{space 3}0.053{col 54}{space 4}-.0001638{col 67}{space 3} .0224423
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0047969{col 26}{space 2} .0022148{col 37}{space 1}    2.17{col 46}{space 3}0.037{col 54}{space 4} .0003134{col 67}{space 3} .0092805
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2} .0056929{col 26}{space 2} .0142314{col 37}{space 1}    0.40{col 46}{space 3}0.691{col 54}{space 4} -.023117{col 67}{space 3} .0345029
{txt}{space 4}resource {c |}{col 14}{res}{space 2} .0077233{col 26}{space 2} .0027094{col 37}{space 1}    2.85{col 46}{space 3}0.007{col 54}{space 4} .0022384{col 67}{space 3} .0132082
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2} .0163598{col 26}{space 2} .0039077{col 37}{space 1}    4.19{col 46}{space 3}0.000{col 54}{space 4}  .008449{col 67}{space 3} .0242706
{txt}preconflic~i {c |}{col 14}{res}{space 2} 1.016193{col 26}{space 2}  .221823{col 37}{space 1}    4.58{col 46}{space 3}0.000{col 54}{space 4} .5671356{col 67}{space 3}  1.46525
{txt}{space 3}politydem {c |}{col 14}{res}{space 2} .0035944{col 26}{space 2} .0638238{col 37}{space 1}    0.06{col 46}{space 3}0.955{col 54}{space 4}-.1256101{col 67}{space 3}  .132799
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0095687{col 26}{space 2} .0036119{col 37}{space 1}   -2.65{col 46}{space 3}0.012{col 54}{space 4}-.0168806{col 67}{space 3}-.0022569
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0793708{col 26}{space 2} .0342143{col 37}{space 1}    2.32{col 46}{space 3}0.026{col 54}{space 4} .0101076{col 67}{space 3}  .148634
{txt}{space 3}intensity {c |}{col 14}{res}{space 2}-.0023599{col 26}{space 2} .0243282{col 37}{space 1}   -0.10{col 46}{space 3}0.923{col 54}{space 4}-.0516097{col 67}{space 3} .0468899
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table1, word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"table1.rtf"'"':table1.rtf}
{browse `"table1.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table1.txt", label"':seeout}

{com}. xtscc dv3 terminate $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    37{txt}){col 68}={res} 220762.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4607

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv3{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}terminate {c |}{col 14}{res}{space 2} .0595452{col 26}{space 2} .0286892{col 37}{space 1}    2.08{col 46}{space 3}0.045{col 54}{space 4} .0014153{col 67}{space 3}  .117675
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .2808422{col 26}{space 2} .2031627{col 37}{space 1}    1.38{col 46}{space 3}0.175{col 54}{space 4}-.1308046{col 67}{space 3} .6924889
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2}-.2025987{col 26}{space 2} .1768965{col 37}{space 1}   -1.15{col 46}{space 3}0.259{col 54}{space 4} -.561025{col 67}{space 3} .1558276
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2} .0097437{col 26}{space 2} .0044572{col 37}{space 1}    2.19{col 46}{space 3}0.035{col 54}{space 4} .0007126{col 67}{space 3} .0187748
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0048044{col 26}{space 2} .0017371{col 37}{space 1}    2.77{col 46}{space 3}0.009{col 54}{space 4} .0012847{col 67}{space 3} .0083241
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2}-.0034411{col 26}{space 2} .0132021{col 37}{space 1}   -0.26{col 46}{space 3}0.796{col 54}{space 4}-.0301911{col 67}{space 3} .0233088
{txt}{space 4}resource {c |}{col 14}{res}{space 2} .0074058{col 26}{space 2} .0026605{col 37}{space 1}    2.78{col 46}{space 3}0.008{col 54}{space 4} .0020151{col 67}{space 3} .0127965
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2} .0170154{col 26}{space 2}   .00346{col 37}{space 1}    4.92{col 46}{space 3}0.000{col 54}{space 4} .0100047{col 67}{space 3} .0240261
{txt}preconflic~i {c |}{col 14}{res}{space 2} .9613305{col 26}{space 2} .2206563{col 37}{space 1}    4.36{col 46}{space 3}0.000{col 54}{space 4} .5142383{col 67}{space 3} 1.408423
{txt}{space 3}politydem {c |}{col 14}{res}{space 2}-.0231109{col 26}{space 2} .0518674{col 37}{space 1}   -0.45{col 46}{space 3}0.658{col 54}{space 4}-.1282041{col 67}{space 3} .0819824
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0072208{col 26}{space 2} .0031757{col 37}{space 1}   -2.27{col 46}{space 3}0.029{col 54}{space 4}-.0136554{col 67}{space 3}-.0007862
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0738449{col 26}{space 2} .0297629{col 37}{space 1}    2.48{col 46}{space 3}0.018{col 54}{space 4} .0135395{col 67}{space 3} .1341504
{txt}{space 3}intensity {c |}{col 14}{res}{space 2} .0094275{col 26}{space 2} .0276317{col 37}{space 1}    0.34{col 46}{space 3}0.735{col 54}{space 4}-.0465597{col 67}{space 3} .0654147
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table1, word excel addstat(R-squared, `e(r2_w)') label dec(3)
{txt}{stata `"shellout using `"table1.rtf"'"':table1.rtf}
{browse `"table1.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table1.txt", label"':seeout}

{com}. xtscc dv1 victory peace cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    39{txt}){col 68}={res} 361820.13
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2971

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv1{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}victory {c |}{col 14}{res}{space 2} .1443667{col 26}{space 2} .0951422{col 37}{space 1}    1.52{col 46}{space 3}0.137{col 54}{space 4}-.0480766{col 67}{space 3}   .33681
{txt}{space 7}peace {c |}{col 14}{res}{space 2}-.1357801{col 26}{space 2} .1665088{col 37}{space 1}   -0.82{col 46}{space 3}0.420{col 54}{space 4}-.4725759{col 67}{space 3} .2010157
{txt}{space 7}cease {c |}{col 14}{res}{space 2}-.0415738{col 26}{space 2} .0266906{col 37}{space 1}   -1.56{col 46}{space 3}0.127{col 54}{space 4}-.0955607{col 67}{space 3} .0124131
{txt}{space 9}low {c |}{col 14}{res}{space 2} .0417913{col 26}{space 2} .0415978{col 37}{space 1}    1.00{col 46}{space 3}0.321{col 54}{space 4}-.0423481{col 67}{space 3} .1259308
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .3515029{col 26}{space 2} .1540509{col 37}{space 1}    2.28{col 46}{space 3}0.028{col 54}{space 4} .0399057{col 67}{space 3} .6631002
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2}-.3170495{col 26}{space 2} .2238615{col 37}{space 1}   -1.42{col 46}{space 3}0.165{col 54}{space 4}-.7698521{col 67}{space 3} .1357531
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2} .0068549{col 26}{space 2}  .003764{col 37}{space 1}    1.82{col 46}{space 3}0.076{col 54}{space 4}-.0007584{col 67}{space 3} .0144683
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0066681{col 26}{space 2} .0030828{col 37}{space 1}    2.16{col 46}{space 3}0.037{col 54}{space 4} .0004325{col 67}{space 3} .0129036
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2} .0092574{col 26}{space 2} .0139663{col 37}{space 1}    0.66{col 46}{space 3}0.511{col 54}{space 4}-.0189921{col 67}{space 3}  .037507
{txt}{space 4}resource {c |}{col 14}{res}{space 2} .0069481{col 26}{space 2} .0022559{col 37}{space 1}    3.08{col 46}{space 3}0.004{col 54}{space 4} .0023851{col 67}{space 3} .0115111
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2} .0143613{col 26}{space 2} .0043543{col 37}{space 1}    3.30{col 46}{space 3}0.002{col 54}{space 4} .0055539{col 67}{space 3} .0231686
{txt}preconflic~i {c |}{col 14}{res}{space 2}  1.03292{col 26}{space 2} .2044443{col 37}{space 1}    5.05{col 46}{space 3}0.000{col 54}{space 4} .6193921{col 67}{space 3} 1.446447
{txt}{space 3}politydem {c |}{col 14}{res}{space 2} .0733861{col 26}{space 2} .1047727{col 37}{space 1}    0.70{col 46}{space 3}0.488{col 54}{space 4}-.1385367{col 67}{space 3} .2853089
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0149015{col 26}{space 2} .0057667{col 37}{space 1}   -2.58{col 46}{space 3}0.014{col 54}{space 4}-.0265658{col 67}{space 3}-.0032372
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0942687{col 26}{space 2} .0497215{col 37}{space 1}    1.90{col 46}{space 3}0.065{col 54}{space 4}-.0063026{col 67}{space 3} .1948399
{txt}{space 3}intensity {c |}{col 14}{res}{space 2}-.0173866{col 26}{space 2} .0214779{col 37}{space 1}   -0.81{col 46}{space 3}0.423{col 54}{space 4}-.0608298{col 67}{space 3} .0260566
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table1, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"table1.rtf"'"':table1.rtf}
{browse `"table1.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table1.txt", label"':seeout}

{com}. xtscc dv2 victory peace cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    38{txt}){col 68}={res} 365504.59
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4093

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}victory {c |}{col 14}{res}{space 2} .1670914{col 26}{space 2}  .078477{col 37}{space 1}    2.13{col 46}{space 3}0.040{col 54}{space 4} .0082231{col 67}{space 3} .3259597
{txt}{space 7}peace {c |}{col 14}{res}{space 2}-.0340255{col 26}{space 2} .0954941{col 37}{space 1}   -0.36{col 46}{space 3}0.724{col 54}{space 4}-.2273433{col 67}{space 3} .1592923
{txt}{space 7}cease {c |}{col 14}{res}{space 2}  -.05494{col 26}{space 2} .0319877{col 37}{space 1}   -1.72{col 46}{space 3}0.094{col 54}{space 4}-.1196957{col 67}{space 3} .0098157
{txt}{space 9}low {c |}{col 14}{res}{space 2} .0834087{col 26}{space 2} .0417938{col 37}{space 1}    2.00{col 46}{space 3}0.053{col 54}{space 4}-.0011984{col 67}{space 3} .1680159
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .2367625{col 26}{space 2} .1689829{col 37}{space 1}    1.40{col 46}{space 3}0.169{col 54}{space 4}-.1053254{col 67}{space 3} .5788504
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2}-.2010308{col 26}{space 2} .1783298{col 37}{space 1}   -1.13{col 46}{space 3}0.267{col 54}{space 4}-.5620405{col 67}{space 3} .1599789
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2} .0117184{col 26}{space 2} .0056452{col 37}{space 1}    2.08{col 46}{space 3}0.045{col 54}{space 4} .0002902{col 67}{space 3} .0231465
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0043199{col 26}{space 2} .0019825{col 37}{space 1}    2.18{col 46}{space 3}0.036{col 54}{space 4} .0003065{col 67}{space 3} .0083333
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2} .0091097{col 26}{space 2} .0140134{col 37}{space 1}    0.65{col 46}{space 3}0.520{col 54}{space 4} -.019259{col 67}{space 3} .0374783
{txt}{space 4}resource {c |}{col 14}{res}{space 2} .0076825{col 26}{space 2}  .002719{col 37}{space 1}    2.83{col 46}{space 3}0.007{col 54}{space 4} .0021783{col 67}{space 3} .0131868
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2} .0169046{col 26}{space 2} .0039319{col 37}{space 1}    4.30{col 46}{space 3}0.000{col 54}{space 4} .0089449{col 67}{space 3} .0248644
{txt}preconflic~i {c |}{col 14}{res}{space 2} 1.000262{col 26}{space 2} .2018271{col 37}{space 1}    4.96{col 46}{space 3}0.000{col 54}{space 4} .5916842{col 67}{space 3} 1.408839
{txt}{space 3}politydem {c |}{col 14}{res}{space 2} .0208861{col 26}{space 2} .0673808{col 37}{space 1}    0.31{col 46}{space 3}0.758{col 54}{space 4}-.1155192{col 67}{space 3} .1572914
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0095286{col 26}{space 2} .0037319{col 37}{space 1}   -2.55{col 46}{space 3}0.015{col 54}{space 4}-.0170834{col 67}{space 3}-.0019738
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0794462{col 26}{space 2} .0349374{col 37}{space 1}    2.27{col 46}{space 3}0.029{col 54}{space 4} .0087192{col 67}{space 3} .1501733
{txt}{space 3}intensity {c |}{col 14}{res}{space 2} -.000934{col 26}{space 2} .0249182{col 37}{space 1}   -0.04{col 46}{space 3}0.970{col 54}{space 4}-.0513783{col 67}{space 3} .0495103
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table1, word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"table1.rtf"'"':table1.rtf}
{browse `"table1.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table1.txt", label"':seeout}

{com}. xtscc dv3 victory peace cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    37{txt}){col 68}={res} 641093.20
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4647

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv3{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}victory {c |}{col 14}{res}{space 2} .1624203{col 26}{space 2}  .067433{col 37}{space 1}    2.41{col 46}{space 3}0.021{col 54}{space 4}  .025788{col 67}{space 3} .2990525
{txt}{space 7}peace {c |}{col 14}{res}{space 2} .0266147{col 26}{space 2} .0971576{col 37}{space 1}    0.27{col 46}{space 3}0.786{col 54}{space 4}-.1702454{col 67}{space 3} .2234747
{txt}{space 7}cease {c |}{col 14}{res}{space 2}-.0562848{col 26}{space 2} .0304381{col 37}{space 1}   -1.85{col 46}{space 3}0.072{col 54}{space 4}-.1179583{col 67}{space 3} .0053886
{txt}{space 9}low {c |}{col 14}{res}{space 2} .1010259{col 26}{space 2}  .046923{col 37}{space 1}    2.15{col 46}{space 3}0.038{col 54}{space 4} .0059509{col 67}{space 3} .1961009
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .2305065{col 26}{space 2} .2191771{col 37}{space 1}    1.05{col 46}{space 3}0.300{col 54}{space 4}-.2135884{col 67}{space 3} .6746015
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2} -.171877{col 26}{space 2} .1882692{col 37}{space 1}   -0.91{col 46}{space 3}0.367{col 54}{space 4}-.5533466{col 67}{space 3} .2095927
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2} .0101885{col 26}{space 2} .0044299{col 37}{space 1}    2.30{col 46}{space 3}0.027{col 54}{space 4} .0012127{col 67}{space 3} .0191643
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0044761{col 26}{space 2} .0016885{col 37}{space 1}    2.65{col 46}{space 3}0.012{col 54}{space 4} .0010549{col 67}{space 3} .0078974
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2} .0005239{col 26}{space 2} .0126032{col 37}{space 1}    0.04{col 46}{space 3}0.967{col 54}{space 4}-.0250126{col 67}{space 3} .0260604
{txt}{space 4}resource {c |}{col 14}{res}{space 2} .0074536{col 26}{space 2} .0026962{col 37}{space 1}    2.76{col 46}{space 3}0.009{col 54}{space 4} .0019906{col 67}{space 3} .0129167
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2} .0177064{col 26}{space 2} .0034984{col 37}{space 1}    5.06{col 46}{space 3}0.000{col 54}{space 4}  .010618{col 67}{space 3} .0247948
{txt}preconflic~i {c |}{col 14}{res}{space 2} .9689776{col 26}{space 2} .2170787{col 37}{space 1}    4.46{col 46}{space 3}0.000{col 54}{space 4} .5291343{col 67}{space 3} 1.408821
{txt}{space 3}politydem {c |}{col 14}{res}{space 2}-.0165525{col 26}{space 2} .0501536{col 37}{space 1}   -0.33{col 46}{space 3}0.743{col 54}{space 4}-.1181733{col 67}{space 3} .0850684
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0070977{col 26}{space 2} .0032624{col 37}{space 1}   -2.18{col 46}{space 3}0.036{col 54}{space 4}-.0137079{col 67}{space 3}-.0004874
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0735131{col 26}{space 2} .0299785{col 37}{space 1}    2.45{col 46}{space 3}0.019{col 54}{space 4} .0127709{col 67}{space 3} .1342553
{txt}{space 3}intensity {c |}{col 14}{res}{space 2} .0118857{col 26}{space 2} .0280104{col 37}{space 1}    0.42{col 46}{space 3}0.674{col 54}{space 4}-.0448687{col 67}{space 3} .0686401
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table1, word excel addstat(R-squared, `e(r2_w)') label dec(3)
{txt}{stata `"shellout using `"table1.rtf"'"':table1.rtf}
{browse `"table1.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table1.txt", label"':seeout}

{com}. 
. 
. 
. *** Table 2 ***
. *** Table 2 ***
. *** Table 2 ***
. 
. xtscc dv1 victgovt victrebel peace cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    39{txt}){col 68}={res} 428899.52
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2973

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}  Drisc/Kraay
{col 1}         dv1{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}victgovt {c |}{col 14}{res}{space 2} .1592911{col 26}{space 2} .1036477{col 37}{space 1}    1.54{col 46}{space 3}0.132{col 54}{space 4}-.0503561{col 67}{space 3} .3689383
{txt}{space 3}victrebel {c |}{col 14}{res}{space 2} .0144366{col 26}{space 2} .0732404{col 37}{space 1}    0.20{col 46}{space 3}0.845{col 54}{space 4}-.1337061{col 67}{space 3} .1625794
{txt}{space 7}peace {c |}{col 14}{res}{space 2}-.1349433{col 26}{space 2}  .165701{col 37}{space 1}   -0.81{col 46}{space 3}0.420{col 54}{space 4}-.4701052{col 67}{space 3} .2002186
{txt}{space 7}cease {c |}{col 14}{res}{space 2}-.0430752{col 26}{space 2} .0266168{col 37}{space 1}   -1.62{col 46}{space 3}0.114{col 54}{space 4}-.0969127{col 67}{space 3} .0107623
{txt}{space 9}low {c |}{col 14}{res}{space 2} .0424129{col 26}{space 2} .0415949{col 37}{space 1}    1.02{col 46}{space 3}0.314{col 54}{space 4}-.0417208{col 67}{space 3} .1265466
{txt}{space 2}lngdppcPWT {c |}{col 14}{res}{space 2} .3531082{col 26}{space 2} .1546927{col 37}{space 1}    2.28{col 46}{space 3}0.028{col 54}{space 4} .0402126{col 67}{space 3} .6660038
{txt}{space 4}lnpopPWT {c |}{col 14}{res}{space 2}-.3222077{col 26}{space 2} .2244593{col 37}{space 1}   -1.44{col 46}{space 3}0.159{col 54}{space 4}-.7762194{col 67}{space 3}  .131804
{txt}{space 3}growthPWT {c |}{col 14}{res}{space 2}  .006663{col 26}{space 2} .0037035{col 37}{space 1}    1.80{col 46}{space 3}0.080{col 54}{space 4}-.0008279{col 67}{space 3}  .014154
{txt}{space 4}tradePWT {c |}{col 14}{res}{space 2} .0067715{col 26}{space 2}  .003126{col 37}{space 1}    2.17{col 46}{space 3}0.036{col 54}{space 4} .0004486{col 67}{space 3} .0130944
{txt}{space 6}kaopen {c |}{col 14}{res}{space 2} .0089613{col 26}{space 2} .0141369{col 37}{space 1}    0.63{col 46}{space 3}0.530{col 54}{space 4}-.0196334{col 67}{space 3} .0375559
{txt}{space 4}resource {c |}{col 14}{res}{space 2}  .006969{col 26}{space 2} .0022651{col 37}{space 1}    3.08{col 46}{space 3}0.004{col 54}{space 4} .0023874{col 67}{space 3} .0115507
{txt}cumbit_rat~y {c |}{col 14}{res}{space 2}  .014333{col 26}{space 2} .0043656{col 37}{space 1}    3.28{col 46}{space 3}0.002{col 54}{space 4} .0055026{col 67}{space 3} .0231633
{txt}preconflic~i {c |}{col 14}{res}{space 2} 1.037439{col 26}{space 2} .2050794{col 37}{space 1}    5.06{col 46}{space 3}0.000{col 54}{space 4} .6226267{col 67}{space 3} 1.452251
{txt}{space 3}politydem {c |}{col 14}{res}{space 2} .0728308{col 26}{space 2} .1047679{col 37}{space 1}    0.70{col 46}{space 3}0.491{col 54}{space 4}-.1390822{col 67}{space 3} .2847438
{txt}{space 5}lnbanks {c |}{col 14}{res}{space 2}-.0148377{col 26}{space 2} .0057469{col 37}{space 1}   -2.58{col 46}{space 3}0.014{col 54}{space 4} -.026462{col 67}{space 3}-.0032135
{txt}{space 2}lnduration {c |}{col 14}{res}{space 2} .0946902{col 26}{space 2}  .049915{col 37}{space 1}    1.90{col 46}{space 3}0.065{col 54}{space 4}-.0062724{col 67}{space 3} .1956527
{txt}{space 3}intensity {c |}{col 14}{res}{space 2}-.0162655{col 26}{space 2} .0213202{col 37}{space 1}   -0.76{col 46}{space 3}0.450{col 54}{space 4}-.0593897{col 67}{space 3} .0268587
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table2, word excel addstat(R-squared, `e(r2_w)') label dec(3) replace  
{txt}{stata `"shellout using `"table2.rtf"'"':table2.rtf}
{browse `"table2.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table2.txt", label"':seeout}

{com}. xtscc dv2 victgovt victrebel peace cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    38{txt}){col 68}={res} 351218.43
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4094

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1776272{col 28}{space 2} .0828769{col 39}{space 1}    2.14{col 48}{space 3}0.039{col 56}{space 4} .0098516{col 69}{space 3} .3454027
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0780552{col 28}{space 2} .0999068{col 39}{space 1}    0.78{col 48}{space 3}0.439{col 56}{space 4}-.1241954{col 69}{space 3} .2803059
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.0338144{col 28}{space 2} .0946657{col 39}{space 1}   -0.36{col 48}{space 3}0.723{col 56}{space 4}-.2254552{col 69}{space 3} .1578264
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0560332{col 28}{space 2}  .031894{col 39}{space 1}   -1.76{col 48}{space 3}0.087{col 56}{space 4}-.1205993{col 69}{space 3} .0085328
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0838151{col 28}{space 2} .0417953{col 39}{space 1}    2.01{col 48}{space 3}0.052{col 56}{space 4}-.0007951{col 69}{space 3} .1684253
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2379388{col 28}{space 2} .1698393{col 39}{space 1}    1.40{col 48}{space 3}0.169{col 56}{space 4}-.1058829{col 69}{space 3} .5817604
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2042489{col 28}{space 2} .1783987{col 39}{space 1}   -1.14{col 48}{space 3}0.259{col 56}{space 4}-.5653983{col 69}{space 3} .1569005
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0115772{col 28}{space 2} .0056615{col 39}{space 1}    2.04{col 48}{space 3}0.048{col 56}{space 4}  .000116{col 69}{space 3} .0230384
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0043845{col 28}{space 2} .0020024{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0003309{col 69}{space 3} .0084382
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0089032{col 28}{space 2} .0140984{col 39}{space 1}    0.63{col 48}{space 3}0.531{col 56}{space 4}-.0196376{col 69}{space 3}  .037444
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0077065{col 28}{space 2} .0027205{col 39}{space 1}    2.83{col 48}{space 3}0.007{col 56}{space 4} .0021991{col 69}{space 3} .0132138
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2}  .016887{col 28}{space 2} .0039377{col 39}{space 1}    4.29{col 48}{space 3}0.000{col 56}{space 4} .0089155{col 69}{space 3} .0248585
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.002903{col 28}{space 2} .2015411{col 39}{space 1}    4.98{col 48}{space 3}0.000{col 56}{space 4} .5949043{col 69}{space 3} 1.410902
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0206197{col 28}{space 2} .0674865{col 39}{space 1}    0.31{col 48}{space 3}0.762{col 56}{space 4}-.1159995{col 69}{space 3} .1572389
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0094986{col 28}{space 2} .0037218{col 39}{space 1}   -2.55{col 48}{space 3}0.015{col 56}{space 4}-.0170329{col 69}{space 3}-.0019643
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0797082{col 28}{space 2}  .034984{col 39}{space 1}    2.28{col 48}{space 3}0.028{col 56}{space 4} .0088867{col 69}{space 3} .1505296
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0001514{col 28}{space 2} .0247679{col 39}{space 1}   -0.01{col 48}{space 3}0.995{col 56}{space 4}-.0502913{col 69}{space 3} .0499886
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table2, word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"table2.rtf"'"':table2.rtf}
{browse `"table2.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table2.txt", label"':seeout}

{com}. xtscc dv3 victgovt victrebel peace cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    37{txt}){col 68}={res} 582151.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4649

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1740354{col 28}{space 2} .0717441{col 39}{space 1}    2.43{col 48}{space 3}0.020{col 56}{space 4} .0286681{col 69}{space 3} .3194028
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0645455{col 28}{space 2} .0821832{col 39}{space 1}    0.79{col 48}{space 3}0.437{col 56}{space 4}-.1019735{col 69}{space 3} .2310645
{txt}{space 9}peace {c |}{col 16}{res}{space 2} .0269595{col 28}{space 2} .0963623{col 39}{space 1}    0.28{col 48}{space 3}0.781{col 56}{space 4}-.1682891{col 69}{space 3}  .222208
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0575426{col 28}{space 2} .0304471{col 39}{space 1}   -1.89{col 48}{space 3}0.067{col 56}{space 4}-.1192343{col 69}{space 3} .0041491
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1014763{col 28}{space 2} .0469415{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .0063638{col 69}{space 3} .1965888
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2326286{col 28}{space 2} .2200819{col 39}{space 1}    1.06{col 48}{space 3}0.297{col 56}{space 4}-.2132997{col 69}{space 3}  .678557
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1763083{col 28}{space 2} .1883322{col 39}{space 1}   -0.94{col 48}{space 3}0.355{col 56}{space 4}-.5579056{col 69}{space 3} .2052891
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0100211{col 28}{space 2} .0044499{col 39}{space 1}    2.25{col 48}{space 3}0.030{col 56}{space 4} .0010048{col 69}{space 3} .0190374
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0045592{col 28}{space 2} .0017042{col 39}{space 1}    2.68{col 48}{space 3}0.011{col 56}{space 4} .0011062{col 69}{space 3} .0080122
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0002713{col 28}{space 2} .0127104{col 39}{space 1}    0.02{col 48}{space 3}0.983{col 56}{space 4}-.0254824{col 69}{space 3} .0260249
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0074826{col 28}{space 2} .0027006{col 39}{space 1}    2.77{col 48}{space 3}0.009{col 56}{space 4} .0020105{col 69}{space 3} .0129546
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0176843{col 28}{space 2} .0035003{col 39}{space 1}    5.05{col 48}{space 3}0.000{col 56}{space 4}  .010592{col 69}{space 3} .0247766
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9721626{col 28}{space 2} .2168849{col 39}{space 1}    4.48{col 48}{space 3}0.000{col 56}{space 4} .5327122{col 69}{space 3} 1.411613
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0169841{col 28}{space 2} .0502513{col 39}{space 1}   -0.34{col 48}{space 3}0.737{col 56}{space 4} -.118803{col 69}{space 3} .0848348
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0070575{col 28}{space 2} .0032571{col 39}{space 1}   -2.17{col 48}{space 3}0.037{col 56}{space 4} -.013657{col 69}{space 3} -.000458
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0738679{col 28}{space 2} .0300029{col 39}{space 1}    2.46{col 48}{space 3}0.019{col 56}{space 4} .0130762{col 69}{space 3} .1346596
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}  .012732{col 28}{space 2} .0279289{col 39}{space 1}    0.46{col 48}{space 3}0.651{col 56}{space 4}-.0438574{col 69}{space 3} .0693213
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table2, word excel addstat(R-squared, `e(r2_w)') label dec(3)
{txt}{stata `"shellout using `"table2.rtf"'"':table2.rtf}
{browse `"table2.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table2.txt", label"':seeout}

{com}. 
. 
. 
. *** Table 3 ***
. *** Table 3 ***
. *** Table 3 ***
. 
. xtscc dv1 victory peace3rd peaceno3rd cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    39{txt}){col 68}={res} 254505.81
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3177

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1606234{col 28}{space 2} .0996182{col 39}{space 1}    1.61{col 48}{space 3}0.115{col 56}{space 4}-.0408733{col 69}{space 3} .3621202
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .2608408{col 28}{space 2}  .192111{col 39}{space 1}    1.36{col 48}{space 3}0.182{col 56}{space 4}-.1277403{col 69}{space 3} .6494219
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.6740176{col 28}{space 2} .5170002{col 39}{space 1}   -1.30{col 48}{space 3}0.200{col 56}{space 4}-1.719749{col 69}{space 3}  .371714
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0413306{col 28}{space 2} .0245413{col 39}{space 1}   -1.68{col 48}{space 3}0.100{col 56}{space 4}-.0909701{col 69}{space 3}  .008309
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0320339{col 28}{space 2} .0433989{col 39}{space 1}    0.74{col 48}{space 3}0.465{col 56}{space 4}-.0557487{col 69}{space 3} .1198166
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2}  .367308{col 28}{space 2} .1689746{col 39}{space 1}    2.17{col 48}{space 3}0.036{col 56}{space 4} .0255246{col 69}{space 3} .7090915
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2878933{col 28}{space 2} .2100169{col 39}{space 1}   -1.37{col 48}{space 3}0.178{col 56}{space 4}-.7126927{col 69}{space 3}  .136906
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0069885{col 28}{space 2} .0038847{col 39}{space 1}    1.80{col 48}{space 3}0.080{col 56}{space 4} -.000869{col 69}{space 3}  .014846
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2}  .006655{col 28}{space 2} .0031235{col 39}{space 1}    2.13{col 48}{space 3}0.039{col 56}{space 4} .0003371{col 69}{space 3} .0129729
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0033637{col 28}{space 2} .0178049{col 39}{space 1}   -0.19{col 48}{space 3}0.851{col 56}{space 4}-.0393776{col 69}{space 3} .0326501
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0065375{col 28}{space 2} .0019201{col 39}{space 1}    3.40{col 48}{space 3}0.002{col 56}{space 4} .0026537{col 69}{space 3} .0104213
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0148721{col 28}{space 2} .0040207{col 39}{space 1}    3.70{col 48}{space 3}0.001{col 56}{space 4} .0067394{col 69}{space 3} .0230049
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9850256{col 28}{space 2}  .189544{col 39}{space 1}    5.20{col 48}{space 3}0.000{col 56}{space 4} .6016368{col 69}{space 3} 1.368414
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0044104{col 28}{space 2} .0822112{col 39}{space 1}   -0.05{col 48}{space 3}0.957{col 56}{space 4}-.1706983{col 69}{space 3} .1618774
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0131667{col 28}{space 2}  .005405{col 39}{space 1}   -2.44{col 48}{space 3}0.020{col 56}{space 4}-.0240993{col 69}{space 3} -.002234
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0712324{col 28}{space 2} .0362253{col 39}{space 1}    1.97{col 48}{space 3}0.056{col 56}{space 4}-.0020402{col 69}{space 3}  .144505
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0146443{col 28}{space 2} .0190372{col 39}{space 1}   -0.77{col 48}{space 3}0.446{col 56}{space 4}-.0531507{col 69}{space 3} .0238621
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table3, word excel addstat(R-squared, `e(r2_w)') label dec(3) replace 
{txt}{stata `"shellout using `"table3.rtf"'"':table3.rtf}
{browse `"table3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table3.txt", label"':seeout}

{com}. xtscc dv2 victory peace3rd peaceno3rd cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    38{txt}){col 68}={res} 317837.19
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4171

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1770588{col 28}{space 2} .0788393{col 39}{space 1}    2.25{col 48}{space 3}0.031{col 56}{space 4} .0174571{col 69}{space 3} .3366605
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .1718597{col 28}{space 2} .1240672{col 39}{space 1}    1.39{col 48}{space 3}0.174{col 56}{space 4}-.0793012{col 69}{space 3} .4230207
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.3099102{col 28}{space 2} .2636081{col 39}{space 1}   -1.18{col 48}{space 3}0.247{col 56}{space 4}-.8435568{col 69}{space 3} .2237364
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0536329{col 28}{space 2} .0300706{col 39}{space 1}   -1.78{col 48}{space 3}0.082{col 56}{space 4}-.1145076{col 69}{space 3} .0072418
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0785897{col 28}{space 2} .0409837{col 39}{space 1}    1.92{col 48}{space 3}0.063{col 56}{space 4}-.0043775{col 69}{space 3} .1615568
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2553609{col 28}{space 2} .1735608{col 39}{space 1}    1.47{col 48}{space 3}0.149{col 56}{space 4}-.0959946{col 69}{space 3} .6067165
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1965734{col 28}{space 2} .1773859{col 39}{space 1}   -1.11{col 48}{space 3}0.275{col 56}{space 4}-.5556724{col 69}{space 3} .1625256
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0117665{col 28}{space 2} .0057381{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4} .0001503{col 69}{space 3} .0233827
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0042573{col 28}{space 2} .0019735{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .0002622{col 69}{space 3} .0082525
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0030553{col 28}{space 2} .0142354{col 39}{space 1}    0.21{col 48}{space 3}0.831{col 56}{space 4}-.0257628{col 69}{space 3} .0318734
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0074339{col 28}{space 2} .0025699{col 39}{space 1}    2.89{col 48}{space 3}0.006{col 56}{space 4} .0022314{col 69}{space 3} .0126364
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0171831{col 28}{space 2} .0038232{col 39}{space 1}    4.49{col 48}{space 3}0.000{col 56}{space 4} .0094434{col 69}{space 3} .0249228
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9788437{col 28}{space 2} .2020109{col 39}{space 1}    4.85{col 48}{space 3}0.000{col 56}{space 4} .5698939{col 69}{space 3} 1.387793
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0171855{col 28}{space 2} .0609713{col 39}{space 1}   -0.28{col 48}{space 3}0.780{col 56}{space 4}-.1406155{col 69}{space 3} .1062445
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2} -.008441{col 28}{space 2} .0035049{col 39}{space 1}   -2.41{col 48}{space 3}0.021{col 56}{space 4}-.0155362{col 69}{space 3}-.0013458
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0694447{col 28}{space 2} .0299331{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0088483{col 69}{space 3}  .130041
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0013652{col 28}{space 2} .0231515{col 39}{space 1}    0.06{col 48}{space 3}0.953{col 56}{space 4}-.0455025{col 69}{space 3} .0482329
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"table3.rtf"'"':table3.rtf}
{browse `"table3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table3.txt", label"':seeout}

{com}. xtscc dv3 victory peace3rd peaceno3rd cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    37{txt}){col 68}={res} 553222.09
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4678

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2}  .167064{col 28}{space 2} .0661477{col 39}{space 1}    2.53{col 48}{space 3}0.016{col 56}{space 4} .0330361{col 69}{space 3} .3010919
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .1397484{col 28}{space 2} .0924901{col 39}{space 1}    1.51{col 48}{space 3}0.139{col 56}{space 4}-.0476544{col 69}{space 3} .3271512
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1399149{col 28}{space 2} .2445041{col 39}{space 1}   -0.57{col 48}{space 3}0.571{col 56}{space 4}-.6353272{col 69}{space 3} .3554974
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0552163{col 28}{space 2} .0291865{col 39}{space 1}   -1.89{col 48}{space 3}0.066{col 56}{space 4}-.1143538{col 69}{space 3} .0039212
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0976233{col 28}{space 2} .0471408{col 39}{space 1}    2.07{col 48}{space 3}0.045{col 56}{space 4}  .002107{col 69}{space 3} .1931396
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2472812{col 28}{space 2} .2252931{col 39}{space 1}    1.10{col 48}{space 3}0.279{col 56}{space 4} -.209206{col 69}{space 3} .7037684
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.175055{col 28}{space 2}  .189898{col 39}{space 1}   -0.92{col 48}{space 3}0.363{col 56}{space 4}-.5598249{col 69}{space 3} .2097149
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0101499{col 28}{space 2}   .00448{col 39}{space 1}    2.27{col 48}{space 3}0.029{col 56}{space 4} .0010725{col 69}{space 3} .0192273
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0044164{col 28}{space 2} .0016572{col 39}{space 1}    2.67{col 48}{space 3}0.011{col 56}{space 4} .0010587{col 69}{space 3} .0077741
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} -.002679{col 28}{space 2} .0125307{col 39}{space 1}   -0.21{col 48}{space 3}0.832{col 56}{space 4}-.0280687{col 69}{space 3} .0227106
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0072811{col 28}{space 2} .0026635{col 39}{space 1}    2.73{col 48}{space 3}0.010{col 56}{space 4} .0018842{col 69}{space 3} .0126779
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0178809{col 28}{space 2} .0034152{col 39}{space 1}    5.24{col 48}{space 3}0.000{col 56}{space 4} .0109611{col 69}{space 3} .0248007
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9580878{col 28}{space 2} .2250496{col 39}{space 1}    4.26{col 48}{space 3}0.000{col 56}{space 4} .5020941{col 69}{space 3} 1.414082
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0358642{col 28}{space 2} .0512164{col 39}{space 1}   -0.70{col 48}{space 3}0.488{col 56}{space 4}-.1396385{col 69}{space 3}   .06791
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0064361{col 28}{space 2} .0031721{col 39}{space 1}   -2.03{col 48}{space 3}0.050{col 56}{space 4}-.0128635{col 69}{space 3}-8.78e-06
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0689722{col 28}{space 2} .0290008{col 39}{space 1}    2.38{col 48}{space 3}0.023{col 56}{space 4}  .010211{col 69}{space 3} .1277335
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0135091{col 28}{space 2}  .026514{col 39}{space 1}    0.51{col 48}{space 3}0.613{col 56}{space 4}-.0402134{col 69}{space 3} .0672316
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"table3.rtf"'"':table3.rtf}
{browse `"table3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table3.txt", label"':seeout}

{com}. xtscc dv1 victory peace3rd_major peace3rd_io peaceno3rd cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    39{txt}){col 68}={res} 298892.70
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3178

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1595262{col 28}{space 2} .1001143{col 39}{space 1}    1.59{col 48}{space 3}0.119{col 56}{space 4}-.0429741{col 69}{space 3} .3620265
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .3468612{col 28}{space 2} .1741804{col 39}{space 1}    1.99{col 48}{space 3}0.053{col 56}{space 4}-.0054518{col 69}{space 3} .6991742
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .2453652{col 28}{space 2} .2069457{col 39}{space 1}    1.19{col 48}{space 3}0.243{col 56}{space 4} -.173222{col 69}{space 3} .6639524
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.6730727{col 28}{space 2} .5179934{col 39}{space 1}   -1.30{col 48}{space 3}0.201{col 56}{space 4}-1.720813{col 69}{space 3} .3746679
{txt}{space 9}cease {c |}{col 16}{res}{space 2} -.041185{col 28}{space 2} .0244735{col 39}{space 1}   -1.68{col 48}{space 3}0.100{col 56}{space 4}-.0906873{col 69}{space 3} .0083174
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0318723{col 28}{space 2} .0433022{col 39}{space 1}    0.74{col 48}{space 3}0.466{col 56}{space 4}-.0557146{col 69}{space 3} .1194592
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .3696378{col 28}{space 2} .1691415{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0275168{col 69}{space 3} .7117588
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2917912{col 28}{space 2} .2070669{col 39}{space 1}   -1.41{col 48}{space 3}0.167{col 56}{space 4}-.7106236{col 69}{space 3} .1270411
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0069794{col 28}{space 2} .0038972{col 39}{space 1}    1.79{col 48}{space 3}0.081{col 56}{space 4}-.0009034{col 69}{space 3} .0148622
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0066465{col 28}{space 2} .0031312{col 39}{space 1}    2.12{col 48}{space 3}0.040{col 56}{space 4} .0003132{col 69}{space 3} .0129799
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0030334{col 28}{space 2} .0181267{col 39}{space 1}   -0.17{col 48}{space 3}0.868{col 56}{space 4} -.039698{col 69}{space 3} .0336312
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0066173{col 28}{space 2} .0018331{col 39}{space 1}    3.61{col 48}{space 3}0.001{col 56}{space 4} .0029095{col 69}{space 3} .0103252
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0148681{col 28}{space 2} .0040257{col 39}{space 1}    3.69{col 48}{space 3}0.001{col 56}{space 4} .0067254{col 69}{space 3} .0230108
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9874827{col 28}{space 2} .1869182{col 39}{space 1}    5.28{col 48}{space 3}0.000{col 56}{space 4}  .609405{col 69}{space 3}  1.36556
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0018767{col 28}{space 2} .0818922{col 39}{space 1}   -0.02{col 48}{space 3}0.982{col 56}{space 4}-.1675194{col 69}{space 3} .1637659
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0131127{col 28}{space 2} .0054646{col 39}{space 1}   -2.40{col 48}{space 3}0.021{col 56}{space 4}-.0241659{col 69}{space 3}-.0020596
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0715584{col 28}{space 2} .0359272{col 39}{space 1}    1.99{col 48}{space 3}0.053{col 56}{space 4}-.0011113{col 69}{space 3} .1442281
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0163761{col 28}{space 2} .0179638{col 39}{space 1}   -0.91{col 48}{space 3}0.368{col 56}{space 4}-.0527113{col 69}{space 3}  .019959
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"table3.rtf"'"':table3.rtf}
{browse `"table3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table3.txt", label"':seeout}

{com}. xtscc dv2 victory peace3rd_major peace3rd_io peaceno3rd cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    38{txt}){col 68}={res} 307676.27
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4180

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1732838{col 28}{space 2} .0792388{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0128733{col 69}{space 3} .3336943
{txt}peace3rd_major {c |}{col 16}{res}{space 2}   .40014{col 28}{space 2} .1914958{col 39}{space 1}    2.09{col 48}{space 3}0.043{col 56}{space 4} .0124769{col 69}{space 3}  .787803
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .1261358{col 28}{space 2} .1295983{col 39}{space 1}    0.97{col 48}{space 3}0.337{col 56}{space 4}-.1362223{col 69}{space 3}  .388494
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.3069785{col 28}{space 2} .2635263{col 39}{space 1}   -1.16{col 48}{space 3}0.251{col 56}{space 4}-.8404596{col 69}{space 3} .2265026
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0534872{col 28}{space 2} .0301344{col 39}{space 1}   -1.77{col 48}{space 3}0.084{col 56}{space 4}-.1144912{col 69}{space 3} .0075167
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0781318{col 28}{space 2} .0408121{col 39}{space 1}    1.91{col 48}{space 3}0.063{col 56}{space 4} -.004488{col 69}{space 3} .1607517
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2609463{col 28}{space 2} .1725379{col 39}{space 1}    1.51{col 48}{space 3}0.139{col 56}{space 4}-.0883385{col 69}{space 3} .6102311
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2070032{col 28}{space 2} .1740783{col 39}{space 1}   -1.19{col 48}{space 3}0.242{col 56}{space 4}-.5594063{col 69}{space 3} .1453998
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0117404{col 28}{space 2} .0057431{col 39}{space 1}    2.04{col 48}{space 3}0.048{col 56}{space 4} .0001141{col 69}{space 3} .0233666
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0042418{col 28}{space 2} .0019738{col 39}{space 1}    2.15{col 48}{space 3}0.038{col 56}{space 4}  .000246{col 69}{space 3} .0082375
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0039814{col 28}{space 2} .0146479{col 39}{space 1}    0.27{col 48}{space 3}0.787{col 56}{space 4}-.0256718{col 69}{space 3} .0336346
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0076677{col 28}{space 2} .0025156{col 39}{space 1}    3.05{col 48}{space 3}0.004{col 56}{space 4} .0025752{col 69}{space 3} .0127602
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0171813{col 28}{space 2} .0038372{col 39}{space 1}    4.48{col 48}{space 3}0.000{col 56}{space 4} .0094133{col 69}{space 3} .0249493
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9859714{col 28}{space 2}  .199827{col 39}{space 1}    4.93{col 48}{space 3}0.000{col 56}{space 4} .5814428{col 69}{space 3}   1.3905
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0097498{col 28}{space 2} .0604986{col 39}{space 1}   -0.16{col 48}{space 3}0.873{col 56}{space 4}-.1322229{col 69}{space 3} .1127232
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0083133{col 28}{space 2} .0036021{col 39}{space 1}   -2.31{col 48}{space 3}0.027{col 56}{space 4}-.0156055{col 69}{space 3}-.0010212
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0703515{col 28}{space 2} .0296385{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .0103514{col 69}{space 3} .1303516
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0037448{col 28}{space 2} .0216382{col 39}{space 1}   -0.17{col 48}{space 3}0.864{col 56}{space 4} -.047549{col 69}{space 3} .0400594
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"table3.rtf"'"':table3.rtf}
{browse `"table3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table3.txt", label"':seeout}

{com}. xtscc dv3 victory peace3rd_major peace3rd_io peaceno3rd cease low $c1, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    37{txt}){col 68}={res} 535749.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4695

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1622408{col 28}{space 2}  .066427{col 39}{space 1}    2.44{col 48}{space 3}0.019{col 56}{space 4} .0276468{col 69}{space 3} .2968348
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .4206392{col 28}{space 2} .1903026{col 39}{space 1}    2.21{col 48}{space 3}0.033{col 56}{space 4} .0350496{col 69}{space 3} .8062288
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0814679{col 28}{space 2} .0946134{col 39}{space 1}    0.86{col 48}{space 3}0.395{col 56}{space 4} -.110237{col 69}{space 3} .2731729
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1357452{col 28}{space 2} .2440808{col 39}{space 1}   -0.56{col 48}{space 3}0.581{col 56}{space 4}   -.6303{col 69}{space 3} .3588096
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0551849{col 28}{space 2} .0292978{col 39}{space 1}   -1.88{col 48}{space 3}0.067{col 56}{space 4} -.114548{col 69}{space 3} .0041781
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0971498{col 28}{space 2} .0470269{col 39}{space 1}    2.07{col 48}{space 3}0.046{col 56}{space 4} .0018643{col 69}{space 3} .1924354
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2559052{col 28}{space 2} .2233483{col 39}{space 1}    1.15{col 48}{space 3}0.259{col 56}{space 4}-.1966415{col 69}{space 3} .7084519
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1894264{col 28}{space 2}  .186508{col 39}{space 1}   -1.02{col 48}{space 3}0.316{col 56}{space 4}-.5673275{col 69}{space 3} .1884748
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0101017{col 28}{space 2} .0044842{col 39}{space 1}    2.25{col 48}{space 3}0.030{col 56}{space 4} .0010159{col 69}{space 3} .0191876
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0044134{col 28}{space 2} .0016623{col 39}{space 1}    2.65{col 48}{space 3}0.012{col 56}{space 4} .0010452{col 69}{space 3} .0077816
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0014265{col 28}{space 2} .0129524{col 39}{space 1}   -0.11{col 48}{space 3}0.913{col 56}{space 4}-.0276706{col 69}{space 3} .0248176
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0075825{col 28}{space 2} .0026323{col 39}{space 1}    2.88{col 48}{space 3}0.007{col 56}{space 4}  .002249{col 69}{space 3}  .012916
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0178718{col 28}{space 2} .0034388{col 39}{space 1}    5.20{col 48}{space 3}0.000{col 56}{space 4}  .010904{col 69}{space 3} .0248395
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9670408{col 28}{space 2} .2226965{col 39}{space 1}    4.34{col 48}{space 3}0.000{col 56}{space 4} .5158149{col 69}{space 3} 1.418267
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0263538{col 28}{space 2} .0514298{col 39}{space 1}   -0.51{col 48}{space 3}0.611{col 56}{space 4}-.1305605{col 69}{space 3} .0778529
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0062705{col 28}{space 2} .0032613{col 39}{space 1}   -1.92{col 48}{space 3}0.062{col 56}{space 4}-.0128784{col 69}{space 3} .0003375
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0701733{col 28}{space 2} .0287006{col 39}{space 1}    2.45{col 48}{space 3}0.019{col 56}{space 4} .0120203{col 69}{space 3} .1283263
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0068126{col 28}{space 2} .0252278{col 39}{space 1}    0.27{col 48}{space 3}0.789{col 56}{space 4}-.0443037{col 69}{space 3} .0579289
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using table3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"table3.rtf"'"':table3.rtf}
{browse `"table3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "table3.txt", label"':seeout}

{com}. 
. 
. 
. 
. 
. ****************
. *** Figure 1 ***
. *** Figure 1 ***
. *** Figure 1 ***
. ****************
. 
. /* (1) Termination */
. use fdifinal_regression, clear
{txt}
{com}. forvalues i = 1/5 {c -(}
{txt}  2{com}.         xtscc dv`i' terminate $c1, fe 
{txt}  3{com}.         estimates store terminate`i'
{txt}  4{com}.         quietly margins, dydx(terminate) 
{txt}  5{com}.         mat bterminate`i' = r(table)
{txt}  6{com}.         mat bterminate`i' = (bterminate`i'[1,1],bterminate`i'[5,1],bterminate`i'[6,1])
{txt}  7{com}.         {c )-}
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    39{txt}){col 68}={res} 412107.21
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2937

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}terminate {c |}{col 16}{res}{space 2} .0176975{col 28}{space 2} .0414349{col 39}{space 1}    0.43{col 48}{space 3}0.672{col 56}{space 4}-.0661125{col 69}{space 3} .1015075
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .3731227{col 28}{space 2} .1359015{col 39}{space 1}    2.75{col 48}{space 3}0.009{col 56}{space 4}  .098236{col 69}{space 3} .6480094
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.3764106{col 28}{space 2} .2375526{col 39}{space 1}   -1.58{col 48}{space 3}0.121{col 56}{space 4}-.8569062{col 69}{space 3}  .104085
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}  .006104{col 28}{space 2}  .003293{col 39}{space 1}    1.85{col 48}{space 3}0.071{col 56}{space 4}-.0005566{col 69}{space 3} .0127647
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0074559{col 28}{space 2} .0036312{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4} .0001112{col 69}{space 3} .0148007
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0078516{col 28}{space 2}   .01442{col 39}{space 1}    0.54{col 48}{space 3}0.589{col 56}{space 4}-.0213156{col 69}{space 3} .0370188
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0071113{col 28}{space 2} .0022865{col 39}{space 1}    3.11{col 48}{space 3}0.003{col 56}{space 4} .0024864{col 69}{space 3} .0117363
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0140478{col 28}{space 2} .0043746{col 39}{space 1}    3.21{col 48}{space 3}0.003{col 56}{space 4} .0051992{col 69}{space 3} .0228964
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.086602{col 28}{space 2} .2438858{col 39}{space 1}    4.46{col 48}{space 3}0.000{col 56}{space 4} .5932967{col 69}{space 3} 1.579908
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0377864{col 28}{space 2} .0882728{col 39}{space 1}    0.43{col 48}{space 3}0.671{col 56}{space 4}-.1407621{col 69}{space 3} .2163349
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0148038{col 28}{space 2} .0056338{col 39}{space 1}   -2.63{col 48}{space 3}0.012{col 56}{space 4}-.0261992{col 69}{space 3}-.0034084
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0935699{col 28}{space 2} .0488839{col 39}{space 1}    1.91{col 48}{space 3}0.063{col 56}{space 4}-.0053072{col 69}{space 3}  .192447
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0150415{col 28}{space 2}  .020635{col 39}{space 1}   -0.73{col 48}{space 3}0.470{col 56}{space 4}-.0567796{col 69}{space 3} .0266966
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    38{txt}){col 68}={res} 302316.44
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4058

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}terminate {c |}{col 16}{res}{space 2} .0458378{col 28}{space 2} .0290449{col 39}{space 1}    1.58{col 48}{space 3}0.123{col 56}{space 4}-.0129605{col 69}{space 3}  .104636
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2747246{col 28}{space 2} .1546156{col 39}{space 1}    1.78{col 48}{space 3}0.084{col 56}{space 4}-.0382783{col 69}{space 3} .5877275
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2414693{col 28}{space 2} .1765181{col 39}{space 1}   -1.37{col 48}{space 3}0.179{col 56}{space 4}-.5988115{col 69}{space 3} .1158729
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0111392{col 28}{space 2} .0055834{col 39}{space 1}    2.00{col 48}{space 3}0.053{col 56}{space 4}-.0001638{col 69}{space 3} .0224423
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0047969{col 28}{space 2} .0022148{col 39}{space 1}    2.17{col 48}{space 3}0.037{col 56}{space 4} .0003134{col 69}{space 3} .0092805
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0056929{col 28}{space 2} .0142314{col 39}{space 1}    0.40{col 48}{space 3}0.691{col 56}{space 4} -.023117{col 69}{space 3} .0345029
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0077233{col 28}{space 2} .0027094{col 39}{space 1}    2.85{col 48}{space 3}0.007{col 56}{space 4} .0022384{col 69}{space 3} .0132082
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0163598{col 28}{space 2} .0039077{col 39}{space 1}    4.19{col 48}{space 3}0.000{col 56}{space 4}  .008449{col 69}{space 3} .0242706
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.016193{col 28}{space 2}  .221823{col 39}{space 1}    4.58{col 48}{space 3}0.000{col 56}{space 4} .5671356{col 69}{space 3}  1.46525
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0035944{col 28}{space 2} .0638238{col 39}{space 1}    0.06{col 48}{space 3}0.955{col 56}{space 4}-.1256101{col 69}{space 3}  .132799
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0095687{col 28}{space 2} .0036119{col 39}{space 1}   -2.65{col 48}{space 3}0.012{col 56}{space 4}-.0168806{col 69}{space 3}-.0022569
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0793708{col 28}{space 2} .0342143{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0101076{col 69}{space 3}  .148634
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0023599{col 28}{space 2} .0243282{col 39}{space 1}   -0.10{col 48}{space 3}0.923{col 56}{space 4}-.0516097{col 69}{space 3} .0468899
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    37{txt}){col 68}={res} 220762.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4607

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}terminate {c |}{col 16}{res}{space 2} .0595452{col 28}{space 2} .0286892{col 39}{space 1}    2.08{col 48}{space 3}0.045{col 56}{space 4} .0014153{col 69}{space 3}  .117675
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2808422{col 28}{space 2} .2031627{col 39}{space 1}    1.38{col 48}{space 3}0.175{col 56}{space 4}-.1308046{col 69}{space 3} .6924889
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2025987{col 28}{space 2} .1768965{col 39}{space 1}   -1.15{col 48}{space 3}0.259{col 56}{space 4} -.561025{col 69}{space 3} .1558276
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0097437{col 28}{space 2} .0044572{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0007126{col 69}{space 3} .0187748
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0048044{col 28}{space 2} .0017371{col 39}{space 1}    2.77{col 48}{space 3}0.009{col 56}{space 4} .0012847{col 69}{space 3} .0083241
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0034411{col 28}{space 2} .0132021{col 39}{space 1}   -0.26{col 48}{space 3}0.796{col 56}{space 4}-.0301911{col 69}{space 3} .0233088
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0074058{col 28}{space 2} .0026605{col 39}{space 1}    2.78{col 48}{space 3}0.008{col 56}{space 4} .0020151{col 69}{space 3} .0127965
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0170154{col 28}{space 2}   .00346{col 39}{space 1}    4.92{col 48}{space 3}0.000{col 56}{space 4} .0100047{col 69}{space 3} .0240261
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9613305{col 28}{space 2} .2206563{col 39}{space 1}    4.36{col 48}{space 3}0.000{col 56}{space 4} .5142383{col 69}{space 3} 1.408423
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0231109{col 28}{space 2} .0518674{col 39}{space 1}   -0.45{col 48}{space 3}0.658{col 56}{space 4}-.1282041{col 69}{space 3} .0819824
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0072208{col 28}{space 2} .0031757{col 39}{space 1}   -2.27{col 48}{space 3}0.029{col 56}{space 4}-.0136554{col 69}{space 3}-.0007862
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0738449{col 28}{space 2} .0297629{col 39}{space 1}    2.48{col 48}{space 3}0.018{col 56}{space 4} .0135395{col 69}{space 3} .1341504
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0094275{col 28}{space 2} .0276317{col 39}{space 1}    0.34{col 48}{space 3}0.735{col 56}{space 4}-.0465597{col 69}{space 3} .0654147
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       866
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       103
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    36{txt}){col 68}={res} 399852.68
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4892

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}terminate {c |}{col 16}{res}{space 2} .0529501{col 28}{space 2} .0289769{col 39}{space 1}    1.83{col 48}{space 3}0.076{col 56}{space 4}-.0058179{col 69}{space 3}  .111718
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2775235{col 28}{space 2} .1745431{col 39}{space 1}    1.59{col 48}{space 3}0.121{col 56}{space 4}-.0764663{col 69}{space 3} .6315132
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1284519{col 28}{space 2} .1720388{col 39}{space 1}   -0.75{col 48}{space 3}0.460{col 56}{space 4}-.4773627{col 69}{space 3} .2204589
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0080253{col 28}{space 2} .0036326{col 39}{space 1}    2.21{col 48}{space 3}0.034{col 56}{space 4} .0006582{col 69}{space 3} .0153925
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0038512{col 28}{space 2} .0014793{col 39}{space 1}    2.60{col 48}{space 3}0.013{col 56}{space 4}  .000851{col 69}{space 3} .0068514
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0093429{col 28}{space 2} .0135109{col 39}{space 1}   -0.69{col 48}{space 3}0.494{col 56}{space 4}-.0367444{col 69}{space 3} .0180585
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0063685{col 28}{space 2} .0022834{col 39}{space 1}    2.79{col 48}{space 3}0.008{col 56}{space 4} .0017376{col 69}{space 3} .0109994
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0179865{col 28}{space 2} .0036133{col 39}{space 1}    4.98{col 48}{space 3}0.000{col 56}{space 4} .0106585{col 69}{space 3} .0253146
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .8764127{col 28}{space 2} .2017582{col 39}{space 1}    4.34{col 48}{space 3}0.000{col 56}{space 4} .4672282{col 69}{space 3} 1.285597
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0247946{col 28}{space 2}  .042193{col 39}{space 1}   -0.59{col 48}{space 3}0.560{col 56}{space 4}-.1103659{col 69}{space 3} .0607767
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0030282{col 28}{space 2} .0028517{col 39}{space 1}   -1.06{col 48}{space 3}0.295{col 56}{space 4}-.0088118{col 69}{space 3} .0027553
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0624285{col 28}{space 2} .0259278{col 39}{space 1}    2.41{col 48}{space 3}0.021{col 56}{space 4} .0098444{col 69}{space 3} .1150125
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0167732{col 28}{space 2} .0289862{col 39}{space 1}    0.58{col 48}{space 3}0.566{col 56}{space 4}-.0420136{col 69}{space 3} .0755599
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       838
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       101
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 12{txt},{res}    35{txt}){col 68}={res} 398462.80
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5118

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv5{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}terminate {c |}{col 16}{res}{space 2} .0418896{col 28}{space 2} .0289832{col 39}{space 1}    1.45{col 48}{space 3}0.157{col 56}{space 4}-.0169494{col 69}{space 3} .1007287
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2483576{col 28}{space 2} .1391915{col 39}{space 1}    1.78{col 48}{space 3}0.083{col 56}{space 4}-.0342161{col 69}{space 3} .5309312
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.0110016{col 28}{space 2} .1501788{col 39}{space 1}   -0.07{col 48}{space 3}0.942{col 56}{space 4}-.3158808{col 69}{space 3} .2938776
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0067407{col 28}{space 2} .0031156{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .0004158{col 69}{space 3} .0130657
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0025383{col 28}{space 2} .0013254{col 39}{space 1}    1.92{col 48}{space 3}0.064{col 56}{space 4}-.0001524{col 69}{space 3}  .005229
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0107805{col 28}{space 2} .0136732{col 39}{space 1}   -0.79{col 48}{space 3}0.436{col 56}{space 4}-.0385386{col 69}{space 3} .0169776
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0056197{col 28}{space 2} .0021452{col 39}{space 1}    2.62{col 48}{space 3}0.013{col 56}{space 4} .0012647{col 69}{space 3} .0099748
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0188451{col 28}{space 2} .0038936{col 39}{space 1}    4.84{col 48}{space 3}0.000{col 56}{space 4} .0109407{col 69}{space 3} .0267495
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .7662067{col 28}{space 2} .1818989{col 39}{space 1}    4.21{col 48}{space 3}0.000{col 56}{space 4} .3969323{col 69}{space 3} 1.135481
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0318594{col 28}{space 2} .0372572{col 39}{space 1}   -0.86{col 48}{space 3}0.398{col 56}{space 4}-.1074956{col 69}{space 3} .0437768
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0017091{col 28}{space 2}  .002981{col 39}{space 1}   -0.57{col 48}{space 3}0.570{col 56}{space 4}-.0077608{col 69}{space 3} .0043426
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0467267{col 28}{space 2} .0212502{col 39}{space 1}    2.20{col 48}{space 3}0.035{col 56}{space 4} .0035866{col 69}{space 3} .0898668
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0238279{col 28}{space 2} .0296258{col 39}{space 1}    0.80{col 48}{space 3}0.427{col 56}{space 4}-.0363157{col 69}{space 3} .0839715
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. mat terminate = (bterminate1\bterminate2\bterminate3\bterminate4\bterminate5)
{txt}
{com}. xsvmat terminate, saving(terminate,replace) 
{txt}file terminate.dta saved

{com}. 
. use terminate, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot terminate1 terminate2 terminate3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Termination", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(terminate, replace) 
{res}{txt}(file terminate.gph saved)

{com}.         
. 
. /* (2) Victory */
. use fdifinal_regression, clear
{txt}
{com}. forvalues i = 1/5 {c -(}
{txt}  2{com}.         xtscc dv`i' victory peace cease low $c1, fe 
{txt}  3{com}.         estimates store victory`i'
{txt}  4{com}.         quietly margins, dydx(victory) 
{txt}  5{com}.         mat bvictory`i' = r(table)
{txt}  6{com}.         mat bvictory`i' = (bvictory`i'[1,1],bvictory`i'[5,1],bvictory`i'[6,1])
{txt}  7{com}.         quietly margins, dydx(peace) 
{txt}  8{com}.         mat bpeace`i' = r(table)
{txt}  9{com}.         mat bpeace`i' = (bpeace`i'[1,1],bpeace`i'[5,1],bpeace`i'[6,1])  
{txt} 10{com}.         quietly margins, dydx(cease) 
{txt} 11{com}.         mat bcease`i' = r(table)
{txt} 12{com}.         mat bcease`i' = (bcease`i'[1,1],bcease`i'[5,1],bcease`i'[6,1])  
{txt} 13{com}.         quietly margins, dydx(low) 
{txt} 14{com}.         mat blow`i' = r(table)
{txt} 15{com}.         mat blow`i' = (blow`i'[1,1],blow`i'[5,1],blow`i'[6,1])          
{txt} 16{com}.         {c )-}
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    39{txt}){col 68}={res} 361820.13
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2971

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1443667{col 28}{space 2} .0951422{col 39}{space 1}    1.52{col 48}{space 3}0.137{col 56}{space 4}-.0480766{col 69}{space 3}   .33681
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.1357801{col 28}{space 2} .1665088{col 39}{space 1}   -0.82{col 48}{space 3}0.420{col 56}{space 4}-.4725759{col 69}{space 3} .2010157
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0415738{col 28}{space 2} .0266906{col 39}{space 1}   -1.56{col 48}{space 3}0.127{col 56}{space 4}-.0955607{col 69}{space 3} .0124131
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0417913{col 28}{space 2} .0415978{col 39}{space 1}    1.00{col 48}{space 3}0.321{col 56}{space 4}-.0423481{col 69}{space 3} .1259308
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .3515029{col 28}{space 2} .1540509{col 39}{space 1}    2.28{col 48}{space 3}0.028{col 56}{space 4} .0399057{col 69}{space 3} .6631002
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.3170495{col 28}{space 2} .2238615{col 39}{space 1}   -1.42{col 48}{space 3}0.165{col 56}{space 4}-.7698521{col 69}{space 3} .1357531
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0068549{col 28}{space 2}  .003764{col 39}{space 1}    1.82{col 48}{space 3}0.076{col 56}{space 4}-.0007584{col 69}{space 3} .0144683
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0066681{col 28}{space 2} .0030828{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .0004325{col 69}{space 3} .0129036
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0092574{col 28}{space 2} .0139663{col 39}{space 1}    0.66{col 48}{space 3}0.511{col 56}{space 4}-.0189921{col 69}{space 3}  .037507
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0069481{col 28}{space 2} .0022559{col 39}{space 1}    3.08{col 48}{space 3}0.004{col 56}{space 4} .0023851{col 69}{space 3} .0115111
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0143613{col 28}{space 2} .0043543{col 39}{space 1}    3.30{col 48}{space 3}0.002{col 56}{space 4} .0055539{col 69}{space 3} .0231686
{txt}preconflictfdi {c |}{col 16}{res}{space 2}  1.03292{col 28}{space 2} .2044443{col 39}{space 1}    5.05{col 48}{space 3}0.000{col 56}{space 4} .6193921{col 69}{space 3} 1.446447
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0733861{col 28}{space 2} .1047727{col 39}{space 1}    0.70{col 48}{space 3}0.488{col 56}{space 4}-.1385367{col 69}{space 3} .2853089
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0149015{col 28}{space 2} .0057667{col 39}{space 1}   -2.58{col 48}{space 3}0.014{col 56}{space 4}-.0265658{col 69}{space 3}-.0032372
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0942687{col 28}{space 2} .0497215{col 39}{space 1}    1.90{col 48}{space 3}0.065{col 56}{space 4}-.0063026{col 69}{space 3} .1948399
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0173866{col 28}{space 2} .0214779{col 39}{space 1}   -0.81{col 48}{space 3}0.423{col 56}{space 4}-.0608298{col 69}{space 3} .0260566
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    38{txt}){col 68}={res} 365504.59
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4093

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1670914{col 28}{space 2}  .078477{col 39}{space 1}    2.13{col 48}{space 3}0.040{col 56}{space 4} .0082231{col 69}{space 3} .3259597
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.0340255{col 28}{space 2} .0954941{col 39}{space 1}   -0.36{col 48}{space 3}0.724{col 56}{space 4}-.2273433{col 69}{space 3} .1592923
{txt}{space 9}cease {c |}{col 16}{res}{space 2}  -.05494{col 28}{space 2} .0319877{col 39}{space 1}   -1.72{col 48}{space 3}0.094{col 56}{space 4}-.1196957{col 69}{space 3} .0098157
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0834087{col 28}{space 2} .0417938{col 39}{space 1}    2.00{col 48}{space 3}0.053{col 56}{space 4}-.0011984{col 69}{space 3} .1680159
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2367625{col 28}{space 2} .1689829{col 39}{space 1}    1.40{col 48}{space 3}0.169{col 56}{space 4}-.1053254{col 69}{space 3} .5788504
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2010308{col 28}{space 2} .1783298{col 39}{space 1}   -1.13{col 48}{space 3}0.267{col 56}{space 4}-.5620405{col 69}{space 3} .1599789
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0117184{col 28}{space 2} .0056452{col 39}{space 1}    2.08{col 48}{space 3}0.045{col 56}{space 4} .0002902{col 69}{space 3} .0231465
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0043199{col 28}{space 2} .0019825{col 39}{space 1}    2.18{col 48}{space 3}0.036{col 56}{space 4} .0003065{col 69}{space 3} .0083333
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0091097{col 28}{space 2} .0140134{col 39}{space 1}    0.65{col 48}{space 3}0.520{col 56}{space 4} -.019259{col 69}{space 3} .0374783
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0076825{col 28}{space 2}  .002719{col 39}{space 1}    2.83{col 48}{space 3}0.007{col 56}{space 4} .0021783{col 69}{space 3} .0131868
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0169046{col 28}{space 2} .0039319{col 39}{space 1}    4.30{col 48}{space 3}0.000{col 56}{space 4} .0089449{col 69}{space 3} .0248644
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.000262{col 28}{space 2} .2018271{col 39}{space 1}    4.96{col 48}{space 3}0.000{col 56}{space 4} .5916842{col 69}{space 3} 1.408839
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0208861{col 28}{space 2} .0673808{col 39}{space 1}    0.31{col 48}{space 3}0.758{col 56}{space 4}-.1155192{col 69}{space 3} .1572914
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0095286{col 28}{space 2} .0037319{col 39}{space 1}   -2.55{col 48}{space 3}0.015{col 56}{space 4}-.0170834{col 69}{space 3}-.0019738
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0794462{col 28}{space 2} .0349374{col 39}{space 1}    2.27{col 48}{space 3}0.029{col 56}{space 4} .0087192{col 69}{space 3} .1501733
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} -.000934{col 28}{space 2} .0249182{col 39}{space 1}   -0.04{col 48}{space 3}0.970{col 56}{space 4}-.0513783{col 69}{space 3} .0495103
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    37{txt}){col 68}={res} 641093.20
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4647

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1624203{col 28}{space 2}  .067433{col 39}{space 1}    2.41{col 48}{space 3}0.021{col 56}{space 4}  .025788{col 69}{space 3} .2990525
{txt}{space 9}peace {c |}{col 16}{res}{space 2} .0266147{col 28}{space 2} .0971576{col 39}{space 1}    0.27{col 48}{space 3}0.786{col 56}{space 4}-.1702454{col 69}{space 3} .2234747
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0562848{col 28}{space 2} .0304381{col 39}{space 1}   -1.85{col 48}{space 3}0.072{col 56}{space 4}-.1179583{col 69}{space 3} .0053886
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1010259{col 28}{space 2}  .046923{col 39}{space 1}    2.15{col 48}{space 3}0.038{col 56}{space 4} .0059509{col 69}{space 3} .1961009
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2305065{col 28}{space 2} .2191771{col 39}{space 1}    1.05{col 48}{space 3}0.300{col 56}{space 4}-.2135884{col 69}{space 3} .6746015
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.171877{col 28}{space 2} .1882692{col 39}{space 1}   -0.91{col 48}{space 3}0.367{col 56}{space 4}-.5533466{col 69}{space 3} .2095927
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0101885{col 28}{space 2} .0044299{col 39}{space 1}    2.30{col 48}{space 3}0.027{col 56}{space 4} .0012127{col 69}{space 3} .0191643
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0044761{col 28}{space 2} .0016885{col 39}{space 1}    2.65{col 48}{space 3}0.012{col 56}{space 4} .0010549{col 69}{space 3} .0078974
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0005239{col 28}{space 2} .0126032{col 39}{space 1}    0.04{col 48}{space 3}0.967{col 56}{space 4}-.0250126{col 69}{space 3} .0260604
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0074536{col 28}{space 2} .0026962{col 39}{space 1}    2.76{col 48}{space 3}0.009{col 56}{space 4} .0019906{col 69}{space 3} .0129167
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0177064{col 28}{space 2} .0034984{col 39}{space 1}    5.06{col 48}{space 3}0.000{col 56}{space 4}  .010618{col 69}{space 3} .0247948
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9689776{col 28}{space 2} .2170787{col 39}{space 1}    4.46{col 48}{space 3}0.000{col 56}{space 4} .5291343{col 69}{space 3} 1.408821
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0165525{col 28}{space 2} .0501536{col 39}{space 1}   -0.33{col 48}{space 3}0.743{col 56}{space 4}-.1181733{col 69}{space 3} .0850684
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0070977{col 28}{space 2} .0032624{col 39}{space 1}   -2.18{col 48}{space 3}0.036{col 56}{space 4}-.0137079{col 69}{space 3}-.0004874
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0735131{col 28}{space 2} .0299785{col 39}{space 1}    2.45{col 48}{space 3}0.019{col 56}{space 4} .0127709{col 69}{space 3} .1342553
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0118857{col 28}{space 2} .0280104{col 39}{space 1}    0.42{col 48}{space 3}0.674{col 56}{space 4}-.0448687{col 69}{space 3} .0686401
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       866
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       103
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    36{txt}){col 68}={res} 662303.58
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4941

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1536243{col 28}{space 2} .0601626{col 39}{space 1}    2.55{col 48}{space 3}0.015{col 56}{space 4} .0316089{col 69}{space 3} .2756397
{txt}{space 9}peace {c |}{col 16}{res}{space 2} .0098395{col 28}{space 2} .0875677{col 39}{space 1}    0.11{col 48}{space 3}0.911{col 56}{space 4} -.167756{col 69}{space 3} .1874349
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0497062{col 28}{space 2} .0322062{col 39}{space 1}   -1.54{col 48}{space 3}0.131{col 56}{space 4}-.1150233{col 69}{space 3} .0156109
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1004666{col 28}{space 2}  .045766{col 39}{space 1}    2.20{col 48}{space 3}0.035{col 56}{space 4} .0076488{col 69}{space 3} .1932844
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2268176{col 28}{space 2} .1892015{col 39}{space 1}    1.20{col 48}{space 3}0.238{col 56}{space 4}-.1569008{col 69}{space 3} .6105359
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.0922789{col 28}{space 2} .1825695{col 39}{space 1}   -0.51{col 48}{space 3}0.616{col 56}{space 4} -.462547{col 69}{space 3} .2779893
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}  .008515{col 28}{space 2} .0035897{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .0012347{col 69}{space 3} .0157953
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0034001{col 28}{space 2} .0014022{col 39}{space 1}    2.42{col 48}{space 3}0.020{col 56}{space 4} .0005563{col 69}{space 3} .0062439
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0061215{col 28}{space 2} .0122527{col 39}{space 1}   -0.50{col 48}{space 3}0.620{col 56}{space 4}-.0309712{col 69}{space 3} .0187282
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0064025{col 28}{space 2} .0023122{col 39}{space 1}    2.77{col 48}{space 3}0.009{col 56}{space 4} .0017131{col 69}{space 3}  .011092
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0187161{col 28}{space 2} .0035804{col 39}{space 1}    5.23{col 48}{space 3}0.000{col 56}{space 4} .0114547{col 69}{space 3} .0259775
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .8778843{col 28}{space 2}   .20049{col 39}{space 1}    4.38{col 48}{space 3}0.000{col 56}{space 4} .4712718{col 69}{space 3} 1.284497
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0143706{col 28}{space 2} .0439052{col 39}{space 1}   -0.33{col 48}{space 3}0.745{col 56}{space 4}-.1034145{col 69}{space 3} .0746733
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0027914{col 28}{space 2} .0028309{col 39}{space 1}   -0.99{col 48}{space 3}0.331{col 56}{space 4}-.0085327{col 69}{space 3}   .00295
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2}  .061349{col 28}{space 2}  .025916{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .0087888{col 69}{space 3} .1139091
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0193522{col 28}{space 2}  .029338{col 39}{space 1}    0.66{col 48}{space 3}0.514{col 56}{space 4} -.040148{col 69}{space 3} .0788525
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       838
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       101
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 15{txt},{res}    35{txt}){col 68}={res} 508503.74
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5173

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv5{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2}  .148955{col 28}{space 2} .0581225{col 39}{space 1}    2.56{col 48}{space 3}0.015{col 56}{space 4} .0309601{col 69}{space 3} .2669499
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.0065891{col 28}{space 2} .0854776{col 39}{space 1}   -0.08{col 48}{space 3}0.939{col 56}{space 4}-.1801178{col 69}{space 3} .1669397
{txt}{space 9}cease {c |}{col 16}{res}{space 2} -.052174{col 28}{space 2} .0249995{col 39}{space 1}   -2.09{col 48}{space 3}0.044{col 56}{space 4}-.1029258{col 69}{space 3}-.0014222
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0801408{col 28}{space 2} .0438506{col 39}{space 1}    1.83{col 48}{space 3}0.076{col 56}{space 4}-.0088806{col 69}{space 3} .1691622
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2049379{col 28}{space 2} .1531475{col 39}{space 1}    1.34{col 48}{space 3}0.189{col 56}{space 4} -.105968{col 69}{space 3} .5158437
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} .0265082{col 28}{space 2} .1587225{col 39}{space 1}    0.17{col 48}{space 3}0.868{col 56}{space 4}-.2957155{col 69}{space 3}  .348732
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0072575{col 28}{space 2} .0030705{col 39}{space 1}    2.36{col 48}{space 3}0.024{col 56}{space 4}  .001024{col 69}{space 3} .0134909
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0020888{col 28}{space 2} .0012508{col 39}{space 1}    1.67{col 48}{space 3}0.104{col 56}{space 4}-.0004505{col 69}{space 3} .0046281
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} -.008664{col 28}{space 2} .0126668{col 39}{space 1}   -0.68{col 48}{space 3}0.498{col 56}{space 4}-.0343789{col 69}{space 3} .0170509
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0056358{col 28}{space 2} .0021774{col 39}{space 1}    2.59{col 48}{space 3}0.014{col 56}{space 4} .0012154{col 69}{space 3} .0100561
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0195051{col 28}{space 2} .0037352{col 39}{space 1}    5.22{col 48}{space 3}0.000{col 56}{space 4} .0119222{col 69}{space 3} .0270881
{txt}preconflictfdi {c |}{col 16}{res}{space 2}  .758881{col 28}{space 2}  .181413{col 39}{space 1}    4.18{col 48}{space 3}0.000{col 56}{space 4} .3905931{col 69}{space 3} 1.127169
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0204641{col 28}{space 2} .0417027{col 39}{space 1}   -0.49{col 48}{space 3}0.627{col 56}{space 4} -.105125{col 69}{space 3} .0641969
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0013735{col 28}{space 2} .0029301{col 39}{space 1}   -0.47{col 48}{space 3}0.642{col 56}{space 4}-.0073219{col 69}{space 3} .0045749
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0461736{col 28}{space 2} .0212567{col 39}{space 1}    2.17{col 48}{space 3}0.037{col 56}{space 4} .0030203{col 69}{space 3}  .089327
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0257145{col 28}{space 2} .0297791{col 39}{space 1}    0.86{col 48}{space 3}0.394{col 56}{space 4}-.0347403{col 69}{space 3} .0861693
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. mat victory = (bvictory1\bvictory2\bvictory3\bvictory4\bvictory5)
{txt}
{com}. xsvmat victory, saving(victory,replace) 
{txt}file victory.dta saved

{com}. mat peace = (bpeace1\bpeace2\bpeace3\bpeace4\bpeace5)
{txt}
{com}. xsvmat peace, saving(peace,replace) 
{txt}file peace.dta saved

{com}. mat cease = (bcease1\bcease2\bcease3\bcease4\bcease5)
{txt}
{com}. xsvmat cease, saving(cease,replace) 
{txt}file cease.dta saved

{com}. mat low = (blow1\blow2\blow3\blow4\blow5)
{txt}
{com}. xsvmat low, saving(low,replace) 
{txt}file low.dta saved

{com}. 
. use victory, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot victory1 victory2 victory3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("One Side's Victory", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(victory, replace) 
{res}{txt}(file victory.gph saved)

{com}. 
. use peace, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot peace1 peace2 peace3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Peace Agreement", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(peace, replace) 
{res}{txt}(file peace.gph saved)

{com}. 
. use cease, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot cease1 cease2 cease3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Ceasefire", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(cease, replace) 
{res}{txt}(file cease.gph saved)

{com}. 
. use low, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot low1 low2 low3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Low Activity", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(low, replace) 
{res}{txt}(file low.gph saved)

{com}.         
. /* (3) Govt. Victory */
. use fdifinal_regression, clear
{txt}
{com}. forvalues i = 1/5 {c -(}
{txt}  2{com}.         xtscc dv`i' victgovt victrebel peace cease low $c1, fe 
{txt}  3{com}.         estimates store victgovt`i'
{txt}  4{com}.         quietly margins, dydx(victgovt) 
{txt}  5{com}.         mat bvictgovt`i' = r(table)
{txt}  6{com}.         mat bvictgovt`i' = (bvictgovt`i'[1,1],bvictgovt`i'[5,1],bvictgovt`i'[6,1])
{txt}  7{com}.         quietly margins, dydx(victrebel) 
{txt}  8{com}.         mat bvictrebel`i' = r(table)
{txt}  9{com}.         mat bvictrebel`i' = (bvictrebel`i'[1,1],bvictrebel`i'[5,1],bvictrebel`i'[6,1])  
{txt} 10{com}.         quietly margins, dydx(peace) 
{txt} 11{com}.         mat bpeace`i' = r(table)
{txt} 12{com}.         mat bpeace`i' = (bpeace`i'[1,1],bpeace`i'[5,1],bpeace`i'[6,1])  
{txt} 13{com}.         quietly margins, dydx(cease) 
{txt} 14{com}.         mat bcease`i' = r(table)
{txt} 15{com}.         mat bcease`i' = (bcease`i'[1,1],bcease`i'[5,1],bcease`i'[6,1])  
{txt} 16{com}.         quietly margins, dydx(low) 
{txt} 17{com}.         mat blow`i' = r(table)
{txt} 18{com}.         mat blow`i' = (blow`i'[1,1],blow`i'[5,1],blow`i'[6,1])          
{txt} 19{com}.         {c )-}
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    39{txt}){col 68}={res} 428899.52
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2973

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1592911{col 28}{space 2} .1036477{col 39}{space 1}    1.54{col 48}{space 3}0.132{col 56}{space 4}-.0503561{col 69}{space 3} .3689383
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0144366{col 28}{space 2} .0732404{col 39}{space 1}    0.20{col 48}{space 3}0.845{col 56}{space 4}-.1337061{col 69}{space 3} .1625794
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.1349433{col 28}{space 2}  .165701{col 39}{space 1}   -0.81{col 48}{space 3}0.420{col 56}{space 4}-.4701052{col 69}{space 3} .2002186
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0430752{col 28}{space 2} .0266168{col 39}{space 1}   -1.62{col 48}{space 3}0.114{col 56}{space 4}-.0969127{col 69}{space 3} .0107623
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0424129{col 28}{space 2} .0415949{col 39}{space 1}    1.02{col 48}{space 3}0.314{col 56}{space 4}-.0417208{col 69}{space 3} .1265466
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .3531082{col 28}{space 2} .1546927{col 39}{space 1}    2.28{col 48}{space 3}0.028{col 56}{space 4} .0402126{col 69}{space 3} .6660038
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.3222077{col 28}{space 2} .2244593{col 39}{space 1}   -1.44{col 48}{space 3}0.159{col 56}{space 4}-.7762194{col 69}{space 3}  .131804
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}  .006663{col 28}{space 2} .0037035{col 39}{space 1}    1.80{col 48}{space 3}0.080{col 56}{space 4}-.0008279{col 69}{space 3}  .014154
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0067715{col 28}{space 2}  .003126{col 39}{space 1}    2.17{col 48}{space 3}0.036{col 56}{space 4} .0004486{col 69}{space 3} .0130944
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0089613{col 28}{space 2} .0141369{col 39}{space 1}    0.63{col 48}{space 3}0.530{col 56}{space 4}-.0196334{col 69}{space 3} .0375559
{txt}{space 6}resource {c |}{col 16}{res}{space 2}  .006969{col 28}{space 2} .0022651{col 39}{space 1}    3.08{col 48}{space 3}0.004{col 56}{space 4} .0023874{col 69}{space 3} .0115507
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2}  .014333{col 28}{space 2} .0043656{col 39}{space 1}    3.28{col 48}{space 3}0.002{col 56}{space 4} .0055026{col 69}{space 3} .0231633
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.037439{col 28}{space 2} .2050794{col 39}{space 1}    5.06{col 48}{space 3}0.000{col 56}{space 4} .6226267{col 69}{space 3} 1.452251
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0728308{col 28}{space 2} .1047679{col 39}{space 1}    0.70{col 48}{space 3}0.491{col 56}{space 4}-.1390822{col 69}{space 3} .2847438
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0148377{col 28}{space 2} .0057469{col 39}{space 1}   -2.58{col 48}{space 3}0.014{col 56}{space 4} -.026462{col 69}{space 3}-.0032135
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0946902{col 28}{space 2}  .049915{col 39}{space 1}    1.90{col 48}{space 3}0.065{col 56}{space 4}-.0062724{col 69}{space 3} .1956527
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0162655{col 28}{space 2} .0213202{col 39}{space 1}   -0.76{col 48}{space 3}0.450{col 56}{space 4}-.0593897{col 69}{space 3} .0268587
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    38{txt}){col 68}={res} 351218.43
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4094

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1776272{col 28}{space 2} .0828769{col 39}{space 1}    2.14{col 48}{space 3}0.039{col 56}{space 4} .0098516{col 69}{space 3} .3454027
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0780552{col 28}{space 2} .0999068{col 39}{space 1}    0.78{col 48}{space 3}0.439{col 56}{space 4}-.1241954{col 69}{space 3} .2803059
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.0338144{col 28}{space 2} .0946657{col 39}{space 1}   -0.36{col 48}{space 3}0.723{col 56}{space 4}-.2254552{col 69}{space 3} .1578264
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0560332{col 28}{space 2}  .031894{col 39}{space 1}   -1.76{col 48}{space 3}0.087{col 56}{space 4}-.1205993{col 69}{space 3} .0085328
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0838151{col 28}{space 2} .0417953{col 39}{space 1}    2.01{col 48}{space 3}0.052{col 56}{space 4}-.0007951{col 69}{space 3} .1684253
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2379388{col 28}{space 2} .1698393{col 39}{space 1}    1.40{col 48}{space 3}0.169{col 56}{space 4}-.1058829{col 69}{space 3} .5817604
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2042489{col 28}{space 2} .1783987{col 39}{space 1}   -1.14{col 48}{space 3}0.259{col 56}{space 4}-.5653983{col 69}{space 3} .1569005
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0115772{col 28}{space 2} .0056615{col 39}{space 1}    2.04{col 48}{space 3}0.048{col 56}{space 4}  .000116{col 69}{space 3} .0230384
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0043845{col 28}{space 2} .0020024{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0003309{col 69}{space 3} .0084382
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0089032{col 28}{space 2} .0140984{col 39}{space 1}    0.63{col 48}{space 3}0.531{col 56}{space 4}-.0196376{col 69}{space 3}  .037444
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0077065{col 28}{space 2} .0027205{col 39}{space 1}    2.83{col 48}{space 3}0.007{col 56}{space 4} .0021991{col 69}{space 3} .0132138
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2}  .016887{col 28}{space 2} .0039377{col 39}{space 1}    4.29{col 48}{space 3}0.000{col 56}{space 4} .0089155{col 69}{space 3} .0248585
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.002903{col 28}{space 2} .2015411{col 39}{space 1}    4.98{col 48}{space 3}0.000{col 56}{space 4} .5949043{col 69}{space 3} 1.410902
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0206197{col 28}{space 2} .0674865{col 39}{space 1}    0.31{col 48}{space 3}0.762{col 56}{space 4}-.1159995{col 69}{space 3} .1572389
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0094986{col 28}{space 2} .0037218{col 39}{space 1}   -2.55{col 48}{space 3}0.015{col 56}{space 4}-.0170329{col 69}{space 3}-.0019643
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0797082{col 28}{space 2}  .034984{col 39}{space 1}    2.28{col 48}{space 3}0.028{col 56}{space 4} .0088867{col 69}{space 3} .1505296
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0001514{col 28}{space 2} .0247679{col 39}{space 1}   -0.01{col 48}{space 3}0.995{col 56}{space 4}-.0502913{col 69}{space 3} .0499886
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    37{txt}){col 68}={res} 582151.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4649

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1740354{col 28}{space 2} .0717441{col 39}{space 1}    2.43{col 48}{space 3}0.020{col 56}{space 4} .0286681{col 69}{space 3} .3194028
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0645455{col 28}{space 2} .0821832{col 39}{space 1}    0.79{col 48}{space 3}0.437{col 56}{space 4}-.1019735{col 69}{space 3} .2310645
{txt}{space 9}peace {c |}{col 16}{res}{space 2} .0269595{col 28}{space 2} .0963623{col 39}{space 1}    0.28{col 48}{space 3}0.781{col 56}{space 4}-.1682891{col 69}{space 3}  .222208
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0575426{col 28}{space 2} .0304471{col 39}{space 1}   -1.89{col 48}{space 3}0.067{col 56}{space 4}-.1192343{col 69}{space 3} .0041491
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1014763{col 28}{space 2} .0469415{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .0063638{col 69}{space 3} .1965888
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2326286{col 28}{space 2} .2200819{col 39}{space 1}    1.06{col 48}{space 3}0.297{col 56}{space 4}-.2132997{col 69}{space 3}  .678557
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1763083{col 28}{space 2} .1883322{col 39}{space 1}   -0.94{col 48}{space 3}0.355{col 56}{space 4}-.5579056{col 69}{space 3} .2052891
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0100211{col 28}{space 2} .0044499{col 39}{space 1}    2.25{col 48}{space 3}0.030{col 56}{space 4} .0010048{col 69}{space 3} .0190374
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0045592{col 28}{space 2} .0017042{col 39}{space 1}    2.68{col 48}{space 3}0.011{col 56}{space 4} .0011062{col 69}{space 3} .0080122
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0002713{col 28}{space 2} .0127104{col 39}{space 1}    0.02{col 48}{space 3}0.983{col 56}{space 4}-.0254824{col 69}{space 3} .0260249
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0074826{col 28}{space 2} .0027006{col 39}{space 1}    2.77{col 48}{space 3}0.009{col 56}{space 4} .0020105{col 69}{space 3} .0129546
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0176843{col 28}{space 2} .0035003{col 39}{space 1}    5.05{col 48}{space 3}0.000{col 56}{space 4}  .010592{col 69}{space 3} .0247766
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9721626{col 28}{space 2} .2168849{col 39}{space 1}    4.48{col 48}{space 3}0.000{col 56}{space 4} .5327122{col 69}{space 3} 1.411613
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0169841{col 28}{space 2} .0502513{col 39}{space 1}   -0.34{col 48}{space 3}0.737{col 56}{space 4} -.118803{col 69}{space 3} .0848348
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0070575{col 28}{space 2} .0032571{col 39}{space 1}   -2.17{col 48}{space 3}0.037{col 56}{space 4} -.013657{col 69}{space 3} -.000458
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0738679{col 28}{space 2} .0300029{col 39}{space 1}    2.46{col 48}{space 3}0.019{col 56}{space 4} .0130762{col 69}{space 3} .1346596
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}  .012732{col 28}{space 2} .0279289{col 39}{space 1}    0.46{col 48}{space 3}0.651{col 56}{space 4}-.0438574{col 69}{space 3} .0693213
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       866
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       103
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    36{txt}){col 68}={res} 593275.38
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4944

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1647216{col 28}{space 2} .0643157{col 39}{space 1}    2.56{col 48}{space 3}0.015{col 56}{space 4} .0342833{col 69}{space 3} .2951599
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0617843{col 28}{space 2} .0708728{col 39}{space 1}    0.87{col 48}{space 3}0.389{col 56}{space 4}-.0819525{col 69}{space 3} .2055211
{txt}{space 9}peace {c |}{col 16}{res}{space 2} .0102846{col 28}{space 2} .0868327{col 39}{space 1}    0.12{col 48}{space 3}0.906{col 56}{space 4}-.1658204{col 69}{space 3} .1863895
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0509017{col 28}{space 2}  .032171{col 39}{space 1}   -1.58{col 48}{space 3}0.122{col 56}{space 4}-.1161476{col 69}{space 3} .0143442
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1008961{col 28}{space 2} .0457896{col 39}{space 1}    2.20{col 48}{space 3}0.034{col 56}{space 4} .0080306{col 69}{space 3} .1937616
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2}  .228934{col 28}{space 2} .1901753{col 39}{space 1}    1.20{col 48}{space 3}0.237{col 56}{space 4}-.1567593{col 69}{space 3} .6146273
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.096818{col 28}{space 2} .1827729{col 39}{space 1}   -0.53{col 48}{space 3}0.600{col 56}{space 4}-.4674986{col 69}{space 3} .2738625
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}  .008356{col 28}{space 2} .0036057{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0010433{col 69}{space 3} .0156687
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0034836{col 28}{space 2} .0014187{col 39}{space 1}    2.46{col 48}{space 3}0.019{col 56}{space 4} .0006063{col 69}{space 3} .0063609
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0064124{col 28}{space 2} .0123107{col 39}{space 1}   -0.52{col 48}{space 3}0.606{col 56}{space 4}-.0313796{col 69}{space 3} .0185548
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0064305{col 28}{space 2} .0023177{col 39}{space 1}    2.77{col 48}{space 3}0.009{col 56}{space 4}   .00173{col 69}{space 3}  .011131
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0186959{col 28}{space 2} .0035796{col 39}{space 1}    5.22{col 48}{space 3}0.000{col 56}{space 4} .0114361{col 69}{space 3} .0259558
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .8811947{col 28}{space 2} .2002605{col 39}{space 1}    4.40{col 48}{space 3}0.000{col 56}{space 4} .4750476{col 69}{space 3} 1.287342
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0148482{col 28}{space 2}  .043979{col 39}{space 1}   -0.34{col 48}{space 3}0.738{col 56}{space 4}-.1040418{col 69}{space 3} .0743453
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0027545{col 28}{space 2}  .002833{col 39}{space 1}   -0.97{col 48}{space 3}0.337{col 56}{space 4}-.0085001{col 69}{space 3} .0029911
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0617365{col 28}{space 2} .0259494{col 39}{space 1}    2.38{col 48}{space 3}0.023{col 56}{space 4} .0091086{col 69}{space 3} .1143644
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0201405{col 28}{space 2} .0293415{col 39}{space 1}    0.69{col 48}{space 3}0.497{col 56}{space 4}-.0393668{col 69}{space 3} .0796477
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       838
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       101
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    35{txt}){col 68}={res} 499852.24
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5175

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv5{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1559949{col 28}{space 2} .0617004{col 39}{space 1}    2.53{col 48}{space 3}0.016{col 56}{space 4} .0307363{col 69}{space 3} .2812535
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0856606{col 28}{space 2} .0596197{col 39}{space 1}    1.44{col 48}{space 3}0.160{col 56}{space 4}-.0353739{col 69}{space 3}  .206695
{txt}{space 9}peace {c |}{col 16}{res}{space 2}-.0048467{col 28}{space 2}  .085664{col 39}{space 1}   -0.06{col 48}{space 3}0.955{col 56}{space 4}-.1787539{col 69}{space 3} .1690605
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0530931{col 28}{space 2} .0249738{col 39}{space 1}   -2.13{col 48}{space 3}0.041{col 56}{space 4}-.1037926{col 69}{space 3}-.0023935
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0804904{col 28}{space 2} .0438826{col 39}{space 1}    1.83{col 48}{space 3}0.075{col 56}{space 4}-.0085959{col 69}{space 3} .1695767
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2060121{col 28}{space 2} .1534721{col 39}{space 1}    1.34{col 48}{space 3}0.188{col 56}{space 4}-.1055528{col 69}{space 3} .5175771
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} .0231184{col 28}{space 2} .1589045{col 39}{space 1}    0.15{col 48}{space 3}0.885{col 56}{space 4}-.2994749{col 69}{space 3} .3457118
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0071446{col 28}{space 2} .0030799{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4}  .000892{col 69}{space 3} .0133971
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0021583{col 28}{space 2} .0012608{col 39}{space 1}    1.71{col 48}{space 3}0.096{col 56}{space 4}-.0004012{col 69}{space 3} .0047178
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0089344{col 28}{space 2} .0127037{col 39}{space 1}   -0.70{col 48}{space 3}0.487{col 56}{space 4}-.0347242{col 69}{space 3} .0168554
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0056566{col 28}{space 2} .0021828{col 39}{space 1}    2.59{col 48}{space 3}0.014{col 56}{space 4} .0012252{col 69}{space 3}  .010088
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0194943{col 28}{space 2} .0037354{col 39}{space 1}    5.22{col 48}{space 3}0.000{col 56}{space 4}  .011911{col 69}{space 3} .0270776
{txt}preconflictfdi {c |}{col 16}{res}{space 2}  .761835{col 28}{space 2} .1812856{col 39}{space 1}    4.20{col 48}{space 3}0.000{col 56}{space 4} .3938057{col 69}{space 3} 1.129864
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0212981{col 28}{space 2} .0417555{col 39}{space 1}   -0.51{col 48}{space 3}0.613{col 56}{space 4}-.1060662{col 69}{space 3} .0634701
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0013835{col 28}{space 2} .0029298{col 39}{space 1}   -0.47{col 48}{space 3}0.640{col 56}{space 4}-.0073313{col 69}{space 3} .0045644
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0464426{col 28}{space 2} .0212855{col 39}{space 1}    2.18{col 48}{space 3}0.036{col 56}{space 4} .0032308{col 69}{space 3} .0896545
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0262793{col 28}{space 2} .0298334{col 39}{space 1}    0.88{col 48}{space 3}0.384{col 56}{space 4}-.0342856{col 69}{space 3} .0868443
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. mat victgovt = (bvictgovt1\bvictgovt2\bvictgovt3\bvictgovt4\bvictgovt5)
{txt}
{com}. xsvmat victgovt, saving(victgovt,replace) 
{txt}file victgovt.dta saved

{com}. mat victrebel = (bvictrebel1\bvictrebel2\bvictrebel3\bvictrebel4\bvictrebel5)
{txt}
{com}. xsvmat victrebel, saving(victrebel,replace) 
{txt}file victrebel.dta saved

{com}. mat peace = (bpeace1\bpeace2\bpeace3\bpeace4\bpeace5)
{txt}
{com}. xsvmat peace, saving(peace,replace) 
{txt}file peace.dta saved

{com}. mat cease = (bcease1\bcease2\bcease3\bcease4\bcease5)
{txt}
{com}. xsvmat cease, saving(cease,replace) 
{txt}file cease.dta saved

{com}. mat low = (blow1\blow2\blow3\blow4\blow5)
{txt}
{com}. xsvmat low, saving(low,replace) 
{txt}file low.dta saved

{com}. 
. use victgovt, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot victgovt1 victgovt2 victgovt3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Government Victory", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(victgovt, replace) 
{res}{txt}(file victgovt.gph saved)

{com}. 
. use victrebel, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot victrebel1 victrebel2 victrebel3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Rebel Victory", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(victrebel, replace) 
{res}{txt}(file victrebel.gph saved)

{com}.         
. /* (4) 3rd Peace Agreement */
. 
. use fdifinal_regression, clear
{txt}
{com}. forvalues i = 1/5 {c -(}
{txt}  2{com}.         xtscc dv`i' victory peace3rd peaceno3rd cease low $c1, fe 
{txt}  3{com}.         estimates store peace3rd`i'
{txt}  4{com}.         quietly margins, dydx(victory) 
{txt}  5{com}.         mat bvictory`i' = r(table)
{txt}  6{com}.         mat bvictory`i' = (bvictory`i'[1,1],bvictory`i'[5,1],bvictory`i'[6,1])
{txt}  7{com}.         quietly margins, dydx(peace3rd) 
{txt}  8{com}.         mat bpeace3rd`i' = r(table)
{txt}  9{com}.         mat bpeace3rd`i' = (bpeace3rd`i'[1,1],bpeace3rd`i'[5,1],bpeace3rd`i'[6,1])
{txt} 10{com}.         mat bpeaceno3rd`i' = r(table)
{txt} 11{com}.         mat bpeaceno3rd`i' = (bpeaceno3rd`i'[1,1],bpeaceno3rd`i'[5,1],bpeaceno3rd`i'[6,1])      
{txt} 12{com}.         quietly margins, dydx(cease) 
{txt} 13{com}.         mat bcease`i' = r(table)
{txt} 14{com}.         mat bcease`i' = (bcease`i'[1,1],bcease`i'[5,1],bcease`i'[6,1])  
{txt} 15{com}.         quietly margins, dydx(low) 
{txt} 16{com}.         mat blow`i' = r(table)
{txt} 17{com}.         mat blow`i' = (blow`i'[1,1],blow`i'[5,1],blow`i'[6,1])          
{txt} 18{com}.         {c )-}
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    39{txt}){col 68}={res} 254505.81
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3177

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1606234{col 28}{space 2} .0996182{col 39}{space 1}    1.61{col 48}{space 3}0.115{col 56}{space 4}-.0408733{col 69}{space 3} .3621202
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .2608408{col 28}{space 2}  .192111{col 39}{space 1}    1.36{col 48}{space 3}0.182{col 56}{space 4}-.1277403{col 69}{space 3} .6494219
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.6740176{col 28}{space 2} .5170002{col 39}{space 1}   -1.30{col 48}{space 3}0.200{col 56}{space 4}-1.719749{col 69}{space 3}  .371714
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0413306{col 28}{space 2} .0245413{col 39}{space 1}   -1.68{col 48}{space 3}0.100{col 56}{space 4}-.0909701{col 69}{space 3}  .008309
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0320339{col 28}{space 2} .0433989{col 39}{space 1}    0.74{col 48}{space 3}0.465{col 56}{space 4}-.0557487{col 69}{space 3} .1198166
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2}  .367308{col 28}{space 2} .1689746{col 39}{space 1}    2.17{col 48}{space 3}0.036{col 56}{space 4} .0255246{col 69}{space 3} .7090915
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2878933{col 28}{space 2} .2100169{col 39}{space 1}   -1.37{col 48}{space 3}0.178{col 56}{space 4}-.7126927{col 69}{space 3}  .136906
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0069885{col 28}{space 2} .0038847{col 39}{space 1}    1.80{col 48}{space 3}0.080{col 56}{space 4} -.000869{col 69}{space 3}  .014846
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2}  .006655{col 28}{space 2} .0031235{col 39}{space 1}    2.13{col 48}{space 3}0.039{col 56}{space 4} .0003371{col 69}{space 3} .0129729
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0033637{col 28}{space 2} .0178049{col 39}{space 1}   -0.19{col 48}{space 3}0.851{col 56}{space 4}-.0393776{col 69}{space 3} .0326501
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0065375{col 28}{space 2} .0019201{col 39}{space 1}    3.40{col 48}{space 3}0.002{col 56}{space 4} .0026537{col 69}{space 3} .0104213
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0148721{col 28}{space 2} .0040207{col 39}{space 1}    3.70{col 48}{space 3}0.001{col 56}{space 4} .0067394{col 69}{space 3} .0230049
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9850256{col 28}{space 2}  .189544{col 39}{space 1}    5.20{col 48}{space 3}0.000{col 56}{space 4} .6016368{col 69}{space 3} 1.368414
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0044104{col 28}{space 2} .0822112{col 39}{space 1}   -0.05{col 48}{space 3}0.957{col 56}{space 4}-.1706983{col 69}{space 3} .1618774
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0131667{col 28}{space 2}  .005405{col 39}{space 1}   -2.44{col 48}{space 3}0.020{col 56}{space 4}-.0240993{col 69}{space 3} -.002234
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0712324{col 28}{space 2} .0362253{col 39}{space 1}    1.97{col 48}{space 3}0.056{col 56}{space 4}-.0020402{col 69}{space 3}  .144505
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0146443{col 28}{space 2} .0190372{col 39}{space 1}   -0.77{col 48}{space 3}0.446{col 56}{space 4}-.0531507{col 69}{space 3} .0238621
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    38{txt}){col 68}={res} 317837.19
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4171

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1770588{col 28}{space 2} .0788393{col 39}{space 1}    2.25{col 48}{space 3}0.031{col 56}{space 4} .0174571{col 69}{space 3} .3366605
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .1718597{col 28}{space 2} .1240672{col 39}{space 1}    1.39{col 48}{space 3}0.174{col 56}{space 4}-.0793012{col 69}{space 3} .4230207
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.3099102{col 28}{space 2} .2636081{col 39}{space 1}   -1.18{col 48}{space 3}0.247{col 56}{space 4}-.8435568{col 69}{space 3} .2237364
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0536329{col 28}{space 2} .0300706{col 39}{space 1}   -1.78{col 48}{space 3}0.082{col 56}{space 4}-.1145076{col 69}{space 3} .0072418
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0785897{col 28}{space 2} .0409837{col 39}{space 1}    1.92{col 48}{space 3}0.063{col 56}{space 4}-.0043775{col 69}{space 3} .1615568
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2553609{col 28}{space 2} .1735608{col 39}{space 1}    1.47{col 48}{space 3}0.149{col 56}{space 4}-.0959946{col 69}{space 3} .6067165
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1965734{col 28}{space 2} .1773859{col 39}{space 1}   -1.11{col 48}{space 3}0.275{col 56}{space 4}-.5556724{col 69}{space 3} .1625256
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0117665{col 28}{space 2} .0057381{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4} .0001503{col 69}{space 3} .0233827
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0042573{col 28}{space 2} .0019735{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .0002622{col 69}{space 3} .0082525
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0030553{col 28}{space 2} .0142354{col 39}{space 1}    0.21{col 48}{space 3}0.831{col 56}{space 4}-.0257628{col 69}{space 3} .0318734
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0074339{col 28}{space 2} .0025699{col 39}{space 1}    2.89{col 48}{space 3}0.006{col 56}{space 4} .0022314{col 69}{space 3} .0126364
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0171831{col 28}{space 2} .0038232{col 39}{space 1}    4.49{col 48}{space 3}0.000{col 56}{space 4} .0094434{col 69}{space 3} .0249228
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9788437{col 28}{space 2} .2020109{col 39}{space 1}    4.85{col 48}{space 3}0.000{col 56}{space 4} .5698939{col 69}{space 3} 1.387793
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0171855{col 28}{space 2} .0609713{col 39}{space 1}   -0.28{col 48}{space 3}0.780{col 56}{space 4}-.1406155{col 69}{space 3} .1062445
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2} -.008441{col 28}{space 2} .0035049{col 39}{space 1}   -2.41{col 48}{space 3}0.021{col 56}{space 4}-.0155362{col 69}{space 3}-.0013458
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0694447{col 28}{space 2} .0299331{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0088483{col 69}{space 3}  .130041
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0013652{col 28}{space 2} .0231515{col 39}{space 1}    0.06{col 48}{space 3}0.953{col 56}{space 4}-.0455025{col 69}{space 3} .0482329
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    37{txt}){col 68}={res} 553222.09
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4678

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2}  .167064{col 28}{space 2} .0661477{col 39}{space 1}    2.53{col 48}{space 3}0.016{col 56}{space 4} .0330361{col 69}{space 3} .3010919
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .1397484{col 28}{space 2} .0924901{col 39}{space 1}    1.51{col 48}{space 3}0.139{col 56}{space 4}-.0476544{col 69}{space 3} .3271512
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1399149{col 28}{space 2} .2445041{col 39}{space 1}   -0.57{col 48}{space 3}0.571{col 56}{space 4}-.6353272{col 69}{space 3} .3554974
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0552163{col 28}{space 2} .0291865{col 39}{space 1}   -1.89{col 48}{space 3}0.066{col 56}{space 4}-.1143538{col 69}{space 3} .0039212
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0976233{col 28}{space 2} .0471408{col 39}{space 1}    2.07{col 48}{space 3}0.045{col 56}{space 4}  .002107{col 69}{space 3} .1931396
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2472812{col 28}{space 2} .2252931{col 39}{space 1}    1.10{col 48}{space 3}0.279{col 56}{space 4} -.209206{col 69}{space 3} .7037684
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.175055{col 28}{space 2}  .189898{col 39}{space 1}   -0.92{col 48}{space 3}0.363{col 56}{space 4}-.5598249{col 69}{space 3} .2097149
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0101499{col 28}{space 2}   .00448{col 39}{space 1}    2.27{col 48}{space 3}0.029{col 56}{space 4} .0010725{col 69}{space 3} .0192273
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0044164{col 28}{space 2} .0016572{col 39}{space 1}    2.67{col 48}{space 3}0.011{col 56}{space 4} .0010587{col 69}{space 3} .0077741
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} -.002679{col 28}{space 2} .0125307{col 39}{space 1}   -0.21{col 48}{space 3}0.832{col 56}{space 4}-.0280687{col 69}{space 3} .0227106
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0072811{col 28}{space 2} .0026635{col 39}{space 1}    2.73{col 48}{space 3}0.010{col 56}{space 4} .0018842{col 69}{space 3} .0126779
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0178809{col 28}{space 2} .0034152{col 39}{space 1}    5.24{col 48}{space 3}0.000{col 56}{space 4} .0109611{col 69}{space 3} .0248007
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9580878{col 28}{space 2} .2250496{col 39}{space 1}    4.26{col 48}{space 3}0.000{col 56}{space 4} .5020941{col 69}{space 3} 1.414082
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0358642{col 28}{space 2} .0512164{col 39}{space 1}   -0.70{col 48}{space 3}0.488{col 56}{space 4}-.1396385{col 69}{space 3}   .06791
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0064361{col 28}{space 2} .0031721{col 39}{space 1}   -2.03{col 48}{space 3}0.050{col 56}{space 4}-.0128635{col 69}{space 3}-8.78e-06
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0689722{col 28}{space 2} .0290008{col 39}{space 1}    2.38{col 48}{space 3}0.023{col 56}{space 4}  .010211{col 69}{space 3} .1277335
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0135091{col 28}{space 2}  .026514{col 39}{space 1}    0.51{col 48}{space 3}0.613{col 56}{space 4}-.0402134{col 69}{space 3} .0672316
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       866
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       103
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    36{txt}){col 68}={res} 517450.93
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4969

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1579008{col 28}{space 2}  .058901{col 39}{space 1}    2.68{col 48}{space 3}0.011{col 56}{space 4} .0384441{col 69}{space 3} .2773575
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2}  .104789{col 28}{space 2} .0701658{col 39}{space 1}    1.49{col 48}{space 3}0.144{col 56}{space 4}-.0375139{col 69}{space 3} .2470918
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1366121{col 28}{space 2} .2127502{col 39}{space 1}   -0.64{col 48}{space 3}0.525{col 56}{space 4}-.5680896{col 69}{space 3} .2948654
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0485867{col 28}{space 2} .0313179{col 39}{space 1}   -1.55{col 48}{space 3}0.130{col 56}{space 4}-.1121024{col 69}{space 3} .0149291
{txt}{space 11}low {c |}{col 16}{res}{space 2}   .09686{col 28}{space 2} .0462756{col 39}{space 1}    2.09{col 48}{space 3}0.043{col 56}{space 4} .0030088{col 69}{space 3} .1907112
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2449284{col 28}{space 2} .1967467{col 39}{space 1}    1.24{col 48}{space 3}0.221{col 56}{space 4}-.1540924{col 69}{space 3} .6439492
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.0926193{col 28}{space 2} .1830622{col 39}{space 1}   -0.51{col 48}{space 3}0.616{col 56}{space 4}-.4638867{col 69}{space 3}  .278648
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0084802{col 28}{space 2} .0036331{col 39}{space 1}    2.33{col 48}{space 3}0.025{col 56}{space 4}  .001112{col 69}{space 3} .0158485
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0033255{col 28}{space 2} .0013626{col 39}{space 1}    2.44{col 48}{space 3}0.020{col 56}{space 4} .0005621{col 69}{space 3} .0060889
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0094396{col 28}{space 2} .0116327{col 39}{space 1}   -0.81{col 48}{space 3}0.422{col 56}{space 4}-.0330318{col 69}{space 3} .0141526
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0062537{col 28}{space 2} .0023034{col 39}{space 1}    2.71{col 48}{space 3}0.010{col 56}{space 4} .0015822{col 69}{space 3} .0109252
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0188545{col 28}{space 2} .0034905{col 39}{space 1}    5.40{col 48}{space 3}0.000{col 56}{space 4} .0117754{col 69}{space 3} .0259336
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .8620847{col 28}{space 2} .2102322{col 39}{space 1}    4.10{col 48}{space 3}0.000{col 56}{space 4} .4357141{col 69}{space 3} 1.288455
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0291426{col 28}{space 2} .0446843{col 39}{space 1}   -0.65{col 48}{space 3}0.518{col 56}{space 4}-.1197666{col 69}{space 3} .0614815
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0023293{col 28}{space 2} .0029016{col 39}{space 1}   -0.80{col 48}{space 3}0.427{col 56}{space 4}-.0082141{col 69}{space 3} .0035555
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2}  .057353{col 28}{space 2}  .025904{col 39}{space 1}    2.21{col 48}{space 3}0.033{col 56}{space 4} .0048172{col 69}{space 3} .1098888
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0206086{col 28}{space 2} .0282542{col 39}{space 1}    0.73{col 48}{space 3}0.470{col 56}{space 4}-.0366936{col 69}{space 3} .0779108
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       838
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       101
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}    35{txt}){col 68}={res} 381538.92
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5200

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv5{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1516496{col 28}{space 2} .0570772{col 39}{space 1}    2.66{col 48}{space 3}0.012{col 56}{space 4} .0357767{col 69}{space 3} .2675225
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2}  .091318{col 28}{space 2} .0692183{col 39}{space 1}    1.32{col 48}{space 3}0.196{col 56}{space 4}-.0492027{col 69}{space 3} .2318386
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1277186{col 28}{space 2} .1724762{col 39}{space 1}   -0.74{col 48}{space 3}0.464{col 56}{space 4} -.477864{col 69}{space 3} .2224268
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0513543{col 28}{space 2} .0242612{col 39}{space 1}   -2.12{col 48}{space 3}0.041{col 56}{space 4}-.1006072{col 69}{space 3}-.0021013
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0771712{col 28}{space 2} .0444679{col 39}{space 1}    1.74{col 48}{space 3}0.091{col 56}{space 4}-.0131034{col 69}{space 3} .1674459
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2203253{col 28}{space 2} .1601502{col 39}{space 1}    1.38{col 48}{space 3}0.178{col 56}{space 4}-.1047969{col 69}{space 3} .5454474
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} .0240787{col 28}{space 2} .1607012{col 39}{space 1}    0.15{col 48}{space 3}0.882{col 56}{space 4}-.3021621{col 69}{space 3} .3503195
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0072276{col 28}{space 2} .0031106{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0009126{col 69}{space 3} .0135425
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0021424{col 28}{space 2} .0012507{col 39}{space 1}    1.71{col 48}{space 3}0.096{col 56}{space 4}-.0003966{col 69}{space 3} .0046815
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0125432{col 28}{space 2} .0114813{col 39}{space 1}   -1.09{col 48}{space 3}0.282{col 56}{space 4}-.0358514{col 69}{space 3} .0107649
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0055223{col 28}{space 2} .0021667{col 39}{space 1}    2.55{col 48}{space 3}0.015{col 56}{space 4} .0011238{col 69}{space 3} .0099209
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0196365{col 28}{space 2} .0036507{col 39}{space 1}    5.38{col 48}{space 3}0.000{col 56}{space 4} .0122252{col 69}{space 3} .0270478
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .7476477{col 28}{space 2} .1916013{col 39}{space 1}    3.90{col 48}{space 3}0.000{col 56}{space 4} .3586763{col 69}{space 3} 1.136619
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0377639{col 28}{space 2}  .043496{col 39}{space 1}   -0.87{col 48}{space 3}0.391{col 56}{space 4}-.1260656{col 69}{space 3} .0505378
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0010443{col 28}{space 2} .0029824{col 39}{space 1}   -0.35{col 48}{space 3}0.728{col 56}{space 4}-.0070989{col 69}{space 3} .0050103
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0427801{col 28}{space 2} .0220483{col 39}{space 1}    1.94{col 48}{space 3}0.060{col 56}{space 4}-.0019803{col 69}{space 3} .0875406
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0268085{col 28}{space 2} .0291018{col 39}{space 1}    0.92{col 48}{space 3}0.363{col 56}{space 4}-.0322714{col 69}{space 3} .0858883
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. mat victory = (bvictory1\bvictory2\bvictory3\bvictory4\bvictory5)
{txt}
{com}. xsvmat victory, saving(3rd_victory,replace) 
{txt}file 3rd_victory.dta saved

{com}. mat peace3rd = (bpeace3rd1\bpeace3rd2\bpeace3rd3\bpeace3rd4\bpeace3rd5)
{txt}
{com}. xsvmat peace3rd, saving(3rd_peace3rd,replace) 
{txt}file 3rd_peace3rd.dta saved

{com}. mat peaceno3rd = (bpeaceno3rd1\bpeaceno3rd2\bpeaceno3rd3\bpeaceno3rd4\bpeaceno3rd5)
{txt}
{com}. xsvmat peaceno3rd, saving(3rd_peaceno3rd,replace) 
{txt}file 3rd_peaceno3rd.dta saved

{com}. mat cease = (bcease1\bcease2\bcease3\bcease4\bcease5)
{txt}
{com}. xsvmat cease, saving(3rd_cease,replace) 
{txt}file 3rd_cease.dta saved

{com}. mat low = (blow1\blow2\blow3\blow4\blow5)
{txt}
{com}. xsvmat low, saving(3rd_low,replace) 
{txt}file 3rd_low.dta saved

{com}. 
. 
. /* (5) 3rd Peace Agreement - Major Power */
. use 3rd_peace3rd, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot peace3rd1 peace3rd2 peace3rd3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Peace Agreement (3rd Party)", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(3rd_peace3rd, replace) 
{res}{txt}(file 3rd_peace3rd.gph saved)

{com}. 
.         
. use fdifinal_regression, clear
{txt}
{com}. forvalues i = 1/5 {c -(}
{txt}  2{com}.         xtscc dv`i' victory peace3rd_major peace3rd_io peaceno3rd cease low $c1, fe 
{txt}  3{com}.         estimates store peace3rd`i'
{txt}  4{com}.         quietly margins, dydx(victory) 
{txt}  5{com}.         mat bvictory`i' = r(table)
{txt}  6{com}.         mat bvictory`i' = (bvictory`i'[1,1],bvictory`i'[5,1],bvictory`i'[6,1])
{txt}  7{com}.         quietly margins, dydx(peace3rd_major) 
{txt}  8{com}.         mat bpeace3rd_major`i' = r(table)
{txt}  9{com}.         mat bpeace3rd_major`i' = (bpeace3rd_major`i'[1,1],bpeace3rd_major`i'[5,1],bpeace3rd_major`i'[6,1])
{txt} 10{com}.         quietly margins, dydx(peace3rd_io) 
{txt} 11{com}.         mat bpeace3rd_io`i' = r(table)
{txt} 12{com}.         mat bpeace3rd_io`i' = (bpeace3rd_io`i'[1,1],bpeace3rd_io`i'[5,1],bpeace3rd_io`i'[6,1])
{txt} 13{com}.         quietly margins, dydx(peaceno3rd) 
{txt} 14{com}.         mat bpeaceno3rd`i' = r(table)
{txt} 15{com}.         mat bpeaceno3rd`i' = (bpeaceno3rd`i'[1,1],bpeaceno3rd`i'[5,1],bpeaceno3rd`i'[6,1])      
{txt} 16{com}.         quietly margins, dydx(cease) 
{txt} 17{com}.         mat bcease`i' = r(table)
{txt} 18{com}.         mat bcease`i' = (bcease`i'[1,1],bcease`i'[5,1],bcease`i'[6,1])  
{txt} 19{com}.         quietly margins, dydx(low) 
{txt} 20{com}.         mat blow`i' = r(table)
{txt} 21{com}.         mat blow`i' = (blow`i'[1,1],blow`i'[5,1],blow`i'[6,1])          
{txt} 22{com}.         {c )-}
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    39{txt}){col 68}={res} 298892.70
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3178

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1595262{col 28}{space 2} .1001143{col 39}{space 1}    1.59{col 48}{space 3}0.119{col 56}{space 4}-.0429741{col 69}{space 3} .3620265
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .3468612{col 28}{space 2} .1741804{col 39}{space 1}    1.99{col 48}{space 3}0.053{col 56}{space 4}-.0054518{col 69}{space 3} .6991742
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .2453652{col 28}{space 2} .2069457{col 39}{space 1}    1.19{col 48}{space 3}0.243{col 56}{space 4} -.173222{col 69}{space 3} .6639524
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.6730727{col 28}{space 2} .5179934{col 39}{space 1}   -1.30{col 48}{space 3}0.201{col 56}{space 4}-1.720813{col 69}{space 3} .3746679
{txt}{space 9}cease {c |}{col 16}{res}{space 2} -.041185{col 28}{space 2} .0244735{col 39}{space 1}   -1.68{col 48}{space 3}0.100{col 56}{space 4}-.0906873{col 69}{space 3} .0083174
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0318723{col 28}{space 2} .0433022{col 39}{space 1}    0.74{col 48}{space 3}0.466{col 56}{space 4}-.0557146{col 69}{space 3} .1194592
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .3696378{col 28}{space 2} .1691415{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0275168{col 69}{space 3} .7117588
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2917912{col 28}{space 2} .2070669{col 39}{space 1}   -1.41{col 48}{space 3}0.167{col 56}{space 4}-.7106236{col 69}{space 3} .1270411
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0069794{col 28}{space 2} .0038972{col 39}{space 1}    1.79{col 48}{space 3}0.081{col 56}{space 4}-.0009034{col 69}{space 3} .0148622
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0066465{col 28}{space 2} .0031312{col 39}{space 1}    2.12{col 48}{space 3}0.040{col 56}{space 4} .0003132{col 69}{space 3} .0129799
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0030334{col 28}{space 2} .0181267{col 39}{space 1}   -0.17{col 48}{space 3}0.868{col 56}{space 4} -.039698{col 69}{space 3} .0336312
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0066173{col 28}{space 2} .0018331{col 39}{space 1}    3.61{col 48}{space 3}0.001{col 56}{space 4} .0029095{col 69}{space 3} .0103252
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0148681{col 28}{space 2} .0040257{col 39}{space 1}    3.69{col 48}{space 3}0.001{col 56}{space 4} .0067254{col 69}{space 3} .0230108
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9874827{col 28}{space 2} .1869182{col 39}{space 1}    5.28{col 48}{space 3}0.000{col 56}{space 4}  .609405{col 69}{space 3}  1.36556
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0018767{col 28}{space 2} .0818922{col 39}{space 1}   -0.02{col 48}{space 3}0.982{col 56}{space 4}-.1675194{col 69}{space 3} .1637659
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0131127{col 28}{space 2} .0054646{col 39}{space 1}   -2.40{col 48}{space 3}0.021{col 56}{space 4}-.0241659{col 69}{space 3}-.0020596
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0715584{col 28}{space 2} .0359272{col 39}{space 1}    1.99{col 48}{space 3}0.053{col 56}{space 4}-.0011113{col 69}{space 3} .1442281
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0163761{col 28}{space 2} .0179638{col 39}{space 1}   -0.91{col 48}{space 3}0.368{col 56}{space 4}-.0527113{col 69}{space 3}  .019959
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    38{txt}){col 68}={res} 307676.27
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4180

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1732838{col 28}{space 2} .0792388{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0128733{col 69}{space 3} .3336943
{txt}peace3rd_major {c |}{col 16}{res}{space 2}   .40014{col 28}{space 2} .1914958{col 39}{space 1}    2.09{col 48}{space 3}0.043{col 56}{space 4} .0124769{col 69}{space 3}  .787803
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .1261358{col 28}{space 2} .1295983{col 39}{space 1}    0.97{col 48}{space 3}0.337{col 56}{space 4}-.1362223{col 69}{space 3}  .388494
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.3069785{col 28}{space 2} .2635263{col 39}{space 1}   -1.16{col 48}{space 3}0.251{col 56}{space 4}-.8404596{col 69}{space 3} .2265026
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0534872{col 28}{space 2} .0301344{col 39}{space 1}   -1.77{col 48}{space 3}0.084{col 56}{space 4}-.1144912{col 69}{space 3} .0075167
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0781318{col 28}{space 2} .0408121{col 39}{space 1}    1.91{col 48}{space 3}0.063{col 56}{space 4} -.004488{col 69}{space 3} .1607517
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2609463{col 28}{space 2} .1725379{col 39}{space 1}    1.51{col 48}{space 3}0.139{col 56}{space 4}-.0883385{col 69}{space 3} .6102311
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2070032{col 28}{space 2} .1740783{col 39}{space 1}   -1.19{col 48}{space 3}0.242{col 56}{space 4}-.5594063{col 69}{space 3} .1453998
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0117404{col 28}{space 2} .0057431{col 39}{space 1}    2.04{col 48}{space 3}0.048{col 56}{space 4} .0001141{col 69}{space 3} .0233666
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0042418{col 28}{space 2} .0019738{col 39}{space 1}    2.15{col 48}{space 3}0.038{col 56}{space 4}  .000246{col 69}{space 3} .0082375
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0039814{col 28}{space 2} .0146479{col 39}{space 1}    0.27{col 48}{space 3}0.787{col 56}{space 4}-.0256718{col 69}{space 3} .0336346
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0076677{col 28}{space 2} .0025156{col 39}{space 1}    3.05{col 48}{space 3}0.004{col 56}{space 4} .0025752{col 69}{space 3} .0127602
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0171813{col 28}{space 2} .0038372{col 39}{space 1}    4.48{col 48}{space 3}0.000{col 56}{space 4} .0094133{col 69}{space 3} .0249493
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9859714{col 28}{space 2}  .199827{col 39}{space 1}    4.93{col 48}{space 3}0.000{col 56}{space 4} .5814428{col 69}{space 3}   1.3905
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0097498{col 28}{space 2} .0604986{col 39}{space 1}   -0.16{col 48}{space 3}0.873{col 56}{space 4}-.1322229{col 69}{space 3} .1127232
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0083133{col 28}{space 2} .0036021{col 39}{space 1}   -2.31{col 48}{space 3}0.027{col 56}{space 4}-.0156055{col 69}{space 3}-.0010212
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0703515{col 28}{space 2} .0296385{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .0103514{col 69}{space 3} .1303516
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0037448{col 28}{space 2} .0216382{col 39}{space 1}   -0.17{col 48}{space 3}0.864{col 56}{space 4} -.047549{col 69}{space 3} .0400594
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    37{txt}){col 68}={res} 535749.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4695

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1622408{col 28}{space 2}  .066427{col 39}{space 1}    2.44{col 48}{space 3}0.019{col 56}{space 4} .0276468{col 69}{space 3} .2968348
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .4206392{col 28}{space 2} .1903026{col 39}{space 1}    2.21{col 48}{space 3}0.033{col 56}{space 4} .0350496{col 69}{space 3} .8062288
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0814679{col 28}{space 2} .0946134{col 39}{space 1}    0.86{col 48}{space 3}0.395{col 56}{space 4} -.110237{col 69}{space 3} .2731729
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1357452{col 28}{space 2} .2440808{col 39}{space 1}   -0.56{col 48}{space 3}0.581{col 56}{space 4}   -.6303{col 69}{space 3} .3588096
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0551849{col 28}{space 2} .0292978{col 39}{space 1}   -1.88{col 48}{space 3}0.067{col 56}{space 4} -.114548{col 69}{space 3} .0041781
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0971498{col 28}{space 2} .0470269{col 39}{space 1}    2.07{col 48}{space 3}0.046{col 56}{space 4} .0018643{col 69}{space 3} .1924354
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2559052{col 28}{space 2} .2233483{col 39}{space 1}    1.15{col 48}{space 3}0.259{col 56}{space 4}-.1966415{col 69}{space 3} .7084519
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1894264{col 28}{space 2}  .186508{col 39}{space 1}   -1.02{col 48}{space 3}0.316{col 56}{space 4}-.5673275{col 69}{space 3} .1884748
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0101017{col 28}{space 2} .0044842{col 39}{space 1}    2.25{col 48}{space 3}0.030{col 56}{space 4} .0010159{col 69}{space 3} .0191876
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0044134{col 28}{space 2} .0016623{col 39}{space 1}    2.65{col 48}{space 3}0.012{col 56}{space 4} .0010452{col 69}{space 3} .0077816
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0014265{col 28}{space 2} .0129524{col 39}{space 1}   -0.11{col 48}{space 3}0.913{col 56}{space 4}-.0276706{col 69}{space 3} .0248176
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0075825{col 28}{space 2} .0026323{col 39}{space 1}    2.88{col 48}{space 3}0.007{col 56}{space 4}  .002249{col 69}{space 3}  .012916
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0178718{col 28}{space 2} .0034388{col 39}{space 1}    5.20{col 48}{space 3}0.000{col 56}{space 4}  .010904{col 69}{space 3} .0248395
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .9670408{col 28}{space 2} .2226965{col 39}{space 1}    4.34{col 48}{space 3}0.000{col 56}{space 4} .5158149{col 69}{space 3} 1.418267
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0263538{col 28}{space 2} .0514298{col 39}{space 1}   -0.51{col 48}{space 3}0.611{col 56}{space 4}-.1305605{col 69}{space 3} .0778529
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0062705{col 28}{space 2} .0032613{col 39}{space 1}   -1.92{col 48}{space 3}0.062{col 56}{space 4}-.0128784{col 69}{space 3} .0003375
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0701733{col 28}{space 2} .0287006{col 39}{space 1}    2.45{col 48}{space 3}0.019{col 56}{space 4} .0120203{col 69}{space 3} .1283263
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0068126{col 28}{space 2} .0252278{col 39}{space 1}    0.27{col 48}{space 3}0.789{col 56}{space 4}-.0443037{col 69}{space 3} .0579289
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       866
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       103
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    36{txt}){col 68}={res} 438993.54
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4995

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv4{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1526288{col 28}{space 2} .0588108{col 39}{space 1}    2.60{col 48}{space 3}0.014{col 56}{space 4}  .033355{col 69}{space 3} .2719027
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .4084253{col 28}{space 2} .1594665{col 39}{space 1}    2.56{col 48}{space 3}0.015{col 56}{space 4} .0850122{col 69}{space 3} .7318383
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0386363{col 28}{space 2} .0732756{col 39}{space 1}    0.53{col 48}{space 3}0.601{col 56}{space 4}-.1099735{col 69}{space 3} .1872462
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1322781{col 28}{space 2} .2122102{col 39}{space 1}   -0.62{col 48}{space 3}0.537{col 56}{space 4}-.5626603{col 69}{space 3} .2981041
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0484614{col 28}{space 2} .0314621{col 39}{space 1}   -1.54{col 48}{space 3}0.132{col 56}{space 4}-.1122694{col 69}{space 3} .0153466
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0964749{col 28}{space 2} .0462828{col 39}{space 1}    2.08{col 48}{space 3}0.044{col 56}{space 4} .0026089{col 69}{space 3} .1903408
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2548122{col 28}{space 2} .1947095{col 39}{space 1}    1.31{col 48}{space 3}0.199{col 56}{space 4}-.1400771{col 69}{space 3} .6497014
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1090039{col 28}{space 2} .1794273{col 39}{space 1}   -0.61{col 48}{space 3}0.547{col 56}{space 4}-.4728994{col 69}{space 3} .2548917
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0084419{col 28}{space 2}  .003637{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0010658{col 69}{space 3}  .015818
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0033168{col 28}{space 2} .0013702{col 39}{space 1}    2.42{col 48}{space 3}0.021{col 56}{space 4} .0005379{col 69}{space 3} .0060956
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0079016{col 28}{space 2} .0121878{col 39}{space 1}   -0.65{col 48}{space 3}0.521{col 56}{space 4}-.0326197{col 69}{space 3} .0168164
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0065902{col 28}{space 2} .0022646{col 39}{space 1}    2.91{col 48}{space 3}0.006{col 56}{space 4} .0019974{col 69}{space 3}  .011183
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0188542{col 28}{space 2} .0035194{col 39}{space 1}    5.36{col 48}{space 3}0.000{col 56}{space 4} .0117166{col 69}{space 3} .0259918
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .8722575{col 28}{space 2} .2075877{col 39}{space 1}    4.20{col 48}{space 3}0.000{col 56}{space 4} .4512501{col 69}{space 3} 1.293265
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0181628{col 28}{space 2} .0450413{col 39}{space 1}   -0.40{col 48}{space 3}0.689{col 56}{space 4}-.1095108{col 69}{space 3} .0731853
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0021369{col 28}{space 2} .0030041{col 39}{space 1}   -0.71{col 48}{space 3}0.481{col 56}{space 4}-.0082294{col 69}{space 3} .0039557
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2}  .058728{col 28}{space 2}  .025482{col 39}{space 1}    2.30{col 48}{space 3}0.027{col 56}{space 4} .0070482{col 69}{space 3} .1104079
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}  .013069{col 28}{space 2} .0275016{col 39}{space 1}    0.48{col 48}{space 3}0.638{col 56}{space 4}-.0427067{col 69}{space 3} .0688448
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       838
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       101
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    35{txt}){col 68}={res} 328412.33
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5230

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv5{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}victory {c |}{col 16}{res}{space 2} .1475337{col 28}{space 2} .0566036{col 39}{space 1}    2.61{col 48}{space 3}0.013{col 56}{space 4} .0326223{col 69}{space 3}  .262445
{txt}peace3rd_major {c |}{col 16}{res}{space 2}   .37913{col 28}{space 2} .1384494{col 39}{space 1}    2.74{col 48}{space 3}0.010{col 56}{space 4} .0980628{col 69}{space 3} .6601971
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0091723{col 28}{space 2} .0653066{col 39}{space 1}    0.14{col 48}{space 3}0.889{col 56}{space 4}-.1234071{col 69}{space 3} .1417517
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1248425{col 28}{space 2} .1714745{col 39}{space 1}   -0.73{col 48}{space 3}0.471{col 56}{space 4}-.4729543{col 69}{space 3} .2232693
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0513384{col 28}{space 2} .0243566{col 39}{space 1}   -2.11{col 48}{space 3}0.042{col 56}{space 4}-.1007849{col 69}{space 3}-.0018919
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0766958{col 28}{space 2} .0445787{col 39}{space 1}    1.72{col 48}{space 3}0.094{col 56}{space 4}-.0138038{col 69}{space 3} .1671954
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2326103{col 28}{space 2} .1584656{col 39}{space 1}    1.47{col 48}{space 3}0.151{col 56}{space 4}-.0890919{col 69}{space 3} .5543126
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} .0079033{col 28}{space 2} .1561717{col 39}{space 1}    0.05{col 48}{space 3}0.960{col 56}{space 4}-.3091421{col 69}{space 3} .3249488
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0071938{col 28}{space 2} .0031106{col 39}{space 1}    2.31{col 48}{space 3}0.027{col 56}{space 4} .0008789{col 69}{space 3} .0135087
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0020448{col 28}{space 2} .0012393{col 39}{space 1}    1.65{col 48}{space 3}0.108{col 56}{space 4} -.000471{col 69}{space 3} .0045606
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} -.010159{col 28}{space 2}  .011963{col 39}{space 1}   -0.85{col 48}{space 3}0.402{col 56}{space 4}-.0344451{col 69}{space 3} .0141272
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0058792{col 28}{space 2}  .002135{col 39}{space 1}    2.75{col 48}{space 3}0.009{col 56}{space 4} .0015448{col 69}{space 3} .0102135
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0196551{col 28}{space 2} .0036836{col 39}{space 1}    5.34{col 48}{space 3}0.000{col 56}{space 4} .0121771{col 69}{space 3} .0271332
{txt}preconflictfdi {c |}{col 16}{res}{space 2} .7555359{col 28}{space 2} .1880016{col 39}{space 1}    4.02{col 48}{space 3}0.000{col 56}{space 4} .3738725{col 69}{space 3} 1.137199
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0226359{col 28}{space 2} .0447104{col 39}{space 1}   -0.51{col 48}{space 3}0.616{col 56}{space 4}-.1134028{col 69}{space 3}  .068131
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2} -.000779{col 28}{space 2} .0030868{col 39}{space 1}   -0.25{col 48}{space 3}0.802{col 56}{space 4}-.0070456{col 69}{space 3} .0054876
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2}  .044381{col 28}{space 2} .0215971{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4} .0005366{col 69}{space 3} .0882254
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}  .019002{col 28}{space 2} .0286141{col 39}{space 1}    0.66{col 48}{space 3}0.511{col 56}{space 4}-.0390878{col 69}{space 3} .0770918
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. mat victory = (bvictory1\bvictory2\bvictory3\bvictory4\bvictory5)
{txt}
{com}. xsvmat victory, saving(3rd_victory,replace) 
{txt}file 3rd_victory.dta saved

{com}. mat peace3rd_major = (bpeace3rd_major1\bpeace3rd_major2\bpeace3rd_major3\bpeace3rd_major4\bpeace3rd_major5)
{txt}
{com}. xsvmat peace3rd_major, saving(3rd_peace3rd_major,replace) 
{txt}file 3rd_peace3rd_major.dta saved

{com}. mat peace3rd_io = (bpeace3rd_io1\bpeace3rd_io2\bpeace3rd_io3\bpeace3rd_io4\bpeace3rd_io5)
{txt}
{com}. xsvmat peace3rd_io, saving(3rd_peace3rd_io,replace) 
{txt}file 3rd_peace3rd_io.dta saved

{com}. mat peaceno3rd = (bpeaceno3rd1\bpeaceno3rd2\bpeaceno3rd3\bpeaceno3rd4\bpeaceno3rd5)
{txt}
{com}. xsvmat peaceno3rd, saving(3rd_peaceno3rd,replace) 
{txt}file 3rd_peaceno3rd.dta saved

{com}. mat cease = (bcease1\bcease2\bcease3\bcease4\bcease5)
{txt}
{com}. xsvmat cease, saving(3rd_cease,replace) 
{txt}file 3rd_cease.dta saved

{com}. mat low = (blow1\blow2\blow3\blow4\blow5)
{txt}
{com}. xsvmat low, saving(3rd_low,replace) 
{txt}file 3rd_low.dta saved

{com}. 
. use 3rd_peace3rd_major, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot peace3rd_major1 peace3rd_major2 peace3rd_major3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Peace Agreement (major power)", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(3rd_peace3rd_major, replace) 
{res}{txt}(file 3rd_peace3rd_major.gph saved)

{com}. 
. use 3rd_peace3rd_io, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot peace3rd_io1 peace3rd_io2 peace3rd_io3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Peace Agreement (IO)", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(3rd_peace3rd_io, replace) 
{res}{txt}(file 3rd_peace3rd_io.gph saved)

{com}.         
. use 3rd_peaceno3rd, clear
{txt}
{com}. gen id = _n
{txt}
{com}. eclplot peaceno3rd1 peaceno3rd2 peaceno3rd3 id, ///
>         xscale(range(0 6)) ciopts(blcolor(black)) estopts(color(black)) ///
>         plotregion(fcolor(white)) graphregion(fcolor(white)) ///
>         ytitle("", size(4)) title("Peace Agreement (no 3rd party)", size(4)) yline(0, lpattern(dash)) scheme(s1mono)  ///
>         xlabel(1 "t+1"  2 "t+1~2" 3 "t+1~3" 4 "t+1~4" 5 "t+1~5", labsize(3)) ylabel(, labsize(3)) xtitle("") saving(3rd_peaceno3rd, replace) 
{res}{txt}(file 3rd_peaceno3rd.gph saved)

{com}. 
.         
. graph combine terminate.gph victory.gph victgovt.gph victrebel.gph 3rd_peace3rd.gph 3rd_peace3rd_major.gph 3rd_peace3rd_io.gph 3rd_peaceno3rd.gph cease.gph low.gph, ///
>         col(2) row(5) saving(marginal1, replace)
{res}{txt}(file marginal1.gph saved)

{com}. 
. graph export marginal1.tif, width(4000) replace 
{txt}(file marginal1.tif written in TIFF format)

{com}. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. *** Table A2 ***        
. *** Table A2 ***        
. *** Table A2 ***        
. 
. use fdifinal_regression, clear
{txt}
{com}. 
. keep if censor==0
{txt}(191 observations deleted)

{com}. 
. global c1_high = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify preconflictfdi politydem lnbanks lnduration cumint"
{txt}
{com}. 
. xtscc dv1 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1_high, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       872
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       102
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 18{txt},{res}    39{txt}){col 68}={res} 347270.78
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2941

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1679128{col 28}{space 2} .1175709{col 39}{space 1}    1.43{col 48}{space 3}0.161{col 56}{space 4}-.0698969{col 69}{space 3} .4057225
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0443633{col 28}{space 2} .0638876{col 39}{space 1}    0.69{col 48}{space 3}0.492{col 56}{space 4}-.0848617{col 69}{space 3} .1735882
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .2908502{col 28}{space 2} .1466615{col 39}{space 1}    1.98{col 48}{space 3}0.054{col 56}{space 4}-.0058006{col 69}{space 3} .5875011
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .2505439{col 28}{space 2} .1997343{col 39}{space 1}    1.25{col 48}{space 3}0.217{col 56}{space 4}-.1534568{col 69}{space 3} .6545446
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.6922743{col 28}{space 2} .5111724{col 39}{space 1}   -1.35{col 48}{space 3}0.183{col 56}{space 4}-1.726218{col 69}{space 3} .3416696
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0734648{col 28}{space 2} .0229583{col 39}{space 1}   -3.20{col 48}{space 3}0.003{col 56}{space 4}-.1199025{col 69}{space 3}-.0270272
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0432178{col 28}{space 2} .0484561{col 39}{space 1}    0.89{col 48}{space 3}0.378{col 56}{space 4}-.0547939{col 69}{space 3} .1412294
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .3069127{col 28}{space 2} .1585367{col 39}{space 1}    1.94{col 48}{space 3}0.060{col 56}{space 4} -.013758{col 69}{space 3} .6275835
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.383672{col 28}{space 2} .2406927{col 39}{space 1}   -1.59{col 48}{space 3}0.119{col 56}{space 4} -.870519{col 69}{space 3} .1031749
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0069042{col 28}{space 2} .0040175{col 39}{space 1}    1.72{col 48}{space 3}0.094{col 56}{space 4} -.001222{col 69}{space 3} .0150304
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0063802{col 28}{space 2} .0037478{col 39}{space 1}    1.70{col 48}{space 3}0.097{col 56}{space 4}-.0012004{col 69}{space 3} .0139608
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} -.008479{col 28}{space 2} .0179536{col 39}{space 1}   -0.47{col 48}{space 3}0.639{col 56}{space 4}-.0447935{col 69}{space 3} .0278356
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0057989{col 28}{space 2} .0019732{col 39}{space 1}    2.94{col 48}{space 3}0.006{col 56}{space 4} .0018078{col 69}{space 3} .0097901
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2}  .016078{col 28}{space 2} .0047756{col 39}{space 1}    3.37{col 48}{space 3}0.002{col 56}{space 4} .0064184{col 69}{space 3} .0257376
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.158915{col 28}{space 2} .2077231{col 39}{space 1}    5.58{col 48}{space 3}0.000{col 56}{space 4} .7387551{col 69}{space 3} 1.579074
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0020825{col 28}{space 2} .0795606{col 39}{space 1}   -0.03{col 48}{space 3}0.979{col 56}{space 4}-.1630089{col 69}{space 3}  .158844
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0156937{col 28}{space 2} .0061241{col 39}{space 1}   -2.56{col 48}{space 3}0.014{col 56}{space 4}-.0280809{col 69}{space 3}-.0033064
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0487711{col 28}{space 2} .0277358{col 39}{space 1}    1.76{col 48}{space 3}0.087{col 56}{space 4}-.0073298{col 69}{space 3}  .104872
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} .1828941{col 28}{space 2} .1447787{col 39}{space 1}    1.26{col 48}{space 3}0.214{col 56}{space 4}-.1099484{col 69}{space 3} .4757366
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA2, replace word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA2.rtf"'"':tableA2.rtf}
{browse `"tableA2.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA2.txt", label"':seeout}

{com}. xtscc dv2 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1_high, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       841
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       101
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 18{txt},{res}    38{txt}){col 68}={res} 482413.41
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3890

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1755894{col 28}{space 2} .0923147{col 39}{space 1}    1.90{col 48}{space 3}0.065{col 56}{space 4}-.0112919{col 69}{space 3} .3624706
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0995778{col 28}{space 2} .0856613{col 39}{space 1}    1.16{col 48}{space 3}0.252{col 56}{space 4}-.0738345{col 69}{space 3} .2729901
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .3594563{col 28}{space 2} .1645531{col 39}{space 1}    2.18{col 48}{space 3}0.035{col 56}{space 4}  .026336{col 69}{space 3} .6925767
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .1426825{col 28}{space 2} .1326852{col 39}{space 1}    1.08{col 48}{space 3}0.289{col 56}{space 4}-.1259246{col 69}{space 3} .4112897
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.3211001{col 28}{space 2} .2588959{col 39}{space 1}   -1.24{col 48}{space 3}0.222{col 56}{space 4}-.8452073{col 69}{space 3} .2030072
{txt}{space 9}cease {c |}{col 16}{res}{space 2}  -.06956{col 28}{space 2}  .026312{col 39}{space 1}   -2.64{col 48}{space 3}0.012{col 56}{space 4}-.1228258{col 69}{space 3}-.0162941
{txt}{space 11}low {c |}{col 16}{res}{space 2}  .092092{col 28}{space 2} .0433918{col 39}{space 1}    2.12{col 48}{space 3}0.040{col 56}{space 4} .0042499{col 69}{space 3} .1799341
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .1946633{col 28}{space 2} .1602304{col 39}{space 1}    1.21{col 48}{space 3}0.232{col 56}{space 4}-.1297063{col 69}{space 3} .5190328
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2781249{col 28}{space 2} .2031408{col 39}{space 1}   -1.37{col 48}{space 3}0.179{col 56}{space 4} -.689362{col 69}{space 3} .1331122
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0116213{col 28}{space 2} .0059875{col 39}{space 1}    1.94{col 48}{space 3}0.060{col 56}{space 4}-.0004997{col 69}{space 3} .0237423
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0037916{col 28}{space 2} .0023265{col 39}{space 1}    1.63{col 48}{space 3}0.111{col 56}{space 4}-.0009181{col 69}{space 3} .0085013
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0011415{col 28}{space 2} .0154819{col 39}{space 1}   -0.07{col 48}{space 3}0.942{col 56}{space 4} -.032483{col 69}{space 3}    .0302
{txt}{space 6}resource {c |}{col 16}{res}{space 2}  .006793{col 28}{space 2} .0026661{col 39}{space 1}    2.55{col 48}{space 3}0.015{col 56}{space 4} .0013957{col 69}{space 3} .0121904
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0186375{col 28}{space 2} .0045184{col 39}{space 1}    4.12{col 48}{space 3}0.000{col 56}{space 4} .0094905{col 69}{space 3} .0277845
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.141644{col 28}{space 2} .2173001{col 39}{space 1}    5.25{col 48}{space 3}0.000{col 56}{space 4} .7017431{col 69}{space 3} 1.581545
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0124793{col 28}{space 2} .0582061{col 39}{space 1}   -0.21{col 48}{space 3}0.831{col 56}{space 4}-.1303114{col 69}{space 3} .1053528
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0111482{col 28}{space 2} .0040523{col 39}{space 1}   -2.75{col 48}{space 3}0.009{col 56}{space 4}-.0193518{col 69}{space 3}-.0029447
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0560318{col 28}{space 2} .0243646{col 39}{space 1}    2.30{col 48}{space 3}0.027{col 56}{space 4} .0067083{col 69}{space 3} .1053554
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} .1026868{col 28}{space 2} .0974724{col 39}{space 1}    1.05{col 48}{space 3}0.299{col 56}{space 4}-.0946357{col 69}{space 3} .3000092
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA2, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA2.rtf"'"':tableA2.rtf}
{browse `"tableA2.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA2.txt", label"':seeout}

{com}. xtscc dv3 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1_high, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       815
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        99
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 18{txt},{res}    37{txt}){col 68}={res} 572852.65
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4405

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1643628{col 28}{space 2}   .07966{col 39}{space 1}    2.06{col 48}{space 3}0.046{col 56}{space 4} .0029564{col 69}{space 3} .3257692
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0725136{col 28}{space 2} .0712266{col 39}{space 1}    1.02{col 48}{space 3}0.315{col 56}{space 4}-.0718051{col 69}{space 3} .2168323
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .3914558{col 28}{space 2} .1668382{col 39}{space 1}    2.35{col 48}{space 3}0.024{col 56}{space 4} .0534096{col 69}{space 3} .7295021
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0954388{col 28}{space 2} .0994912{col 39}{space 1}    0.96{col 48}{space 3}0.344{col 56}{space 4}-.1061495{col 69}{space 3} .2970272
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1459204{col 28}{space 2}  .240707{col 39}{space 1}   -0.61{col 48}{space 3}0.548{col 56}{space 4} -.633639{col 69}{space 3} .3417982
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0638377{col 28}{space 2} .0243808{col 39}{space 1}   -2.62{col 48}{space 3}0.013{col 56}{space 4}-.1132379{col 69}{space 3}-.0144376
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1109563{col 28}{space 2} .0480095{col 39}{space 1}    2.31{col 48}{space 3}0.026{col 56}{space 4} .0136799{col 69}{space 3} .2082327
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .1846819{col 28}{space 2} .2121321{col 39}{space 1}    0.87{col 48}{space 3}0.390{col 56}{space 4}-.2451387{col 69}{space 3} .6145024
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2449618{col 28}{space 2} .2131235{col 39}{space 1}   -1.15{col 48}{space 3}0.258{col 56}{space 4} -.676791{col 69}{space 3} .1868673
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0097455{col 28}{space 2} .0046657{col 39}{space 1}    2.09{col 48}{space 3}0.044{col 56}{space 4}  .000292{col 69}{space 3} .0191991
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0037832{col 28}{space 2} .0020008{col 39}{space 1}    1.89{col 48}{space 3}0.066{col 56}{space 4}-.0002708{col 69}{space 3} .0078371
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0057608{col 28}{space 2} .0132594{col 39}{space 1}   -0.43{col 48}{space 3}0.666{col 56}{space 4}-.0326268{col 69}{space 3} .0211052
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0068077{col 28}{space 2} .0027693{col 39}{space 1}    2.46{col 48}{space 3}0.019{col 56}{space 4} .0011965{col 69}{space 3} .0124189
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0194112{col 28}{space 2}  .004146{col 39}{space 1}    4.68{col 48}{space 3}0.000{col 56}{space 4} .0110106{col 69}{space 3} .0278119
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.112091{col 28}{space 2} .2378469{col 39}{space 1}    4.68{col 48}{space 3}0.000{col 56}{space 4} .6301676{col 69}{space 3} 1.594015
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0255045{col 28}{space 2} .0494462{col 39}{space 1}   -0.52{col 48}{space 3}0.609{col 56}{space 4} -.125692{col 69}{space 3}  .074683
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0092221{col 28}{space 2} .0033567{col 39}{space 1}   -2.75{col 48}{space 3}0.009{col 56}{space 4}-.0160233{col 69}{space 3}-.0024208
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0604899{col 28}{space 2} .0247061{col 39}{space 1}    2.45{col 48}{space 3}0.019{col 56}{space 4} .0104305{col 69}{space 3} .1105492
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} .0580898{col 28}{space 2} .0784086{col 39}{space 1}    0.74{col 48}{space 3}0.463{col 56}{space 4}-.1007811{col 69}{space 3} .2169607
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA2, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA2.rtf"'"':tableA2.rtf}
{browse `"tableA2.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA2.txt", label"':seeout}

{com}. 
. 
. 
. 
. *** Table A3 ***        
. *** Table A3 ***        
. *** Table A3 ***        
. 
. use fdifinal_regression, clear
{txt}
{com}. 
. xi i.ccode i.year
{txt}i.ccode{col 19}_Iccode_0-910{col 39}(naturally coded; _Iccode_0 omitted)
i.year{col 19}_Iyear_1970-2019{col 39}(naturally coded; _Iyear_1970 omitted)

{com}. global year = "_Iyear*"
{txt}
{com}. 
. global c1 = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify preconflictfdi politydem lnbanks lnduration cumint"
{txt}
{com}. 
. xtscc dv1 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 $year, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 57{txt},{res}    39{txt}){col 68}={res}1540286.70
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3905

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1341166{col 28}{space 2} .1088939{col 39}{space 1}    1.23{col 48}{space 3}0.225{col 56}{space 4} -.086142{col 69}{space 3} .3543752
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2}  .093476{col 28}{space 2} .0880727{col 39}{space 1}    1.06{col 48}{space 3}0.295{col 56}{space 4}-.0846679{col 69}{space 3}   .27162
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .2060531{col 28}{space 2} .1058449{col 39}{space 1}    1.95{col 48}{space 3}0.059{col 56}{space 4}-.0080385{col 69}{space 3} .4201448
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .1731723{col 28}{space 2}  .253297{col 39}{space 1}    0.68{col 48}{space 3}0.498{col 56}{space 4}-.3391692{col 69}{space 3} .6855139
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2} -.656411{col 28}{space 2} .5515171{col 39}{space 1}   -1.19{col 48}{space 3}0.241{col 56}{space 4} -1.77196{col 69}{space 3} .4591376
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0932051{col 28}{space 2} .0252361{col 39}{space 1}   -3.69{col 48}{space 3}0.001{col 56}{space 4}  -.14425{col 69}{space 3}-.0421602
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0637808{col 28}{space 2} .0447953{col 39}{space 1}    1.42{col 48}{space 3}0.162{col 56}{space 4}-.0268262{col 69}{space 3} .1543878
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .1336097{col 28}{space 2} .1184117{col 39}{space 1}    1.13{col 48}{space 3}0.266{col 56}{space 4}-.1059006{col 69}{space 3} .3731199
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.6622931{col 28}{space 2} .3242245{col 39}{space 1}   -2.04{col 48}{space 3}0.048{col 56}{space 4}-1.318099{col 69}{space 3}-.0064872
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0052459{col 28}{space 2} .0043613{col 39}{space 1}    1.20{col 48}{space 3}0.236{col 56}{space 4}-.0035756{col 69}{space 3} .0140675
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0060627{col 28}{space 2} .0051046{col 39}{space 1}    1.19{col 48}{space 3}0.242{col 56}{space 4}-.0042622{col 69}{space 3} .0163877
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0018416{col 28}{space 2} .0201235{col 39}{space 1}   -0.09{col 48}{space 3}0.928{col 56}{space 4}-.0425453{col 69}{space 3} .0388621
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0042779{col 28}{space 2} .0016993{col 39}{space 1}    2.52{col 48}{space 3}0.016{col 56}{space 4} .0008409{col 69}{space 3}  .007715
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0124408{col 28}{space 2} .0066657{col 39}{space 1}    1.87{col 48}{space 3}0.070{col 56}{space 4}-.0010419{col 69}{space 3} .0259234
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.667136{col 28}{space 2} .3934774{col 39}{space 1}    4.24{col 48}{space 3}0.000{col 56}{space 4}  .871253{col 69}{space 3}  2.46302
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0127607{col 28}{space 2}  .087541{col 39}{space 1}   -0.15{col 48}{space 3}0.885{col 56}{space 4}-.1898291{col 69}{space 3} .1643076
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0154859{col 28}{space 2} .0053806{col 39}{space 1}   -2.88{col 48}{space 3}0.006{col 56}{space 4}-.0263691{col 69}{space 3}-.0046027
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2}  .048362{col 28}{space 2} .0288111{col 39}{space 1}    1.68{col 48}{space 3}0.101{col 56}{space 4}-.0099139{col 69}{space 3} .1066379
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} .1352821{col 28}{space 2} .1044308{col 39}{space 1}    1.30{col 48}{space 3}0.203{col 56}{space 4} -.075949{col 69}{space 3} .3465133
{txt}{space 3}_Iyear_1971 {c |}{col 16}{res}{space 2}-.0357383{col 28}{space 2} .0792157{col 39}{space 1}   -0.45{col 48}{space 3}0.654{col 56}{space 4}-.1959672{col 69}{space 3} .1244906
{txt}{space 3}_Iyear_1972 {c |}{col 16}{res}{space 2} .0330324{col 28}{space 2} .0324308{col 39}{space 1}    1.02{col 48}{space 3}0.315{col 56}{space 4}-.0325652{col 69}{space 3} .0986299
{txt}{space 3}_Iyear_1973 {c |}{col 16}{res}{space 2} .0451423{col 28}{space 2} .0285924{col 39}{space 1}    1.58{col 48}{space 3}0.122{col 56}{space 4}-.0126913{col 69}{space 3} .1029759
{txt}{space 3}_Iyear_1974 {c |}{col 16}{res}{space 2} .0800072{col 28}{space 2} .0284314{col 39}{space 1}    2.81{col 48}{space 3}0.008{col 56}{space 4} .0224992{col 69}{space 3} .1375152
{txt}{space 3}_Iyear_1975 {c |}{col 16}{res}{space 2} .0919345{col 28}{space 2}   .03491{col 39}{space 1}    2.63{col 48}{space 3}0.012{col 56}{space 4} .0213224{col 69}{space 3} .1625466
{txt}{space 3}_Iyear_1976 {c |}{col 16}{res}{space 2} .0792547{col 28}{space 2} .0500945{col 39}{space 1}    1.58{col 48}{space 3}0.122{col 56}{space 4} -.022071{col 69}{space 3} .1805805
{txt}{space 3}_Iyear_1977 {c |}{col 16}{res}{space 2} .0815664{col 28}{space 2} .0676557{col 39}{space 1}    1.21{col 48}{space 3}0.235{col 56}{space 4}-.0552801{col 69}{space 3} .2184129
{txt}{space 3}_Iyear_1978 {c |}{col 16}{res}{space 2} .0732636{col 28}{space 2} .0759044{col 39}{space 1}    0.97{col 48}{space 3}0.340{col 56}{space 4}-.0802675{col 69}{space 3} .2267946
{txt}{space 3}_Iyear_1979 {c |}{col 16}{res}{space 2} .0904753{col 28}{space 2} .0884361{col 39}{space 1}    1.02{col 48}{space 3}0.313{col 56}{space 4}-.0884035{col 69}{space 3} .2693541
{txt}{space 3}_Iyear_1980 {c |}{col 16}{res}{space 2}  .088221{col 28}{space 2} .1057162{col 39}{space 1}    0.83{col 48}{space 3}0.409{col 56}{space 4}-.1256101{col 69}{space 3} .3020521
{txt}{space 3}_Iyear_1981 {c |}{col 16}{res}{space 2} .0818126{col 28}{space 2} .1044828{col 39}{space 1}    0.78{col 48}{space 3}0.438{col 56}{space 4}-.1295237{col 69}{space 3}  .293149
{txt}{space 3}_Iyear_1982 {c |}{col 16}{res}{space 2} .1015614{col 28}{space 2} .1047546{col 39}{space 1}    0.97{col 48}{space 3}0.338{col 56}{space 4}-.1103247{col 69}{space 3} .3134475
{txt}{space 3}_Iyear_1983 {c |}{col 16}{res}{space 2}  .123421{col 28}{space 2} .1090883{col 39}{space 1}    1.13{col 48}{space 3}0.265{col 56}{space 4}-.0972309{col 69}{space 3} .3440729
{txt}{space 3}_Iyear_1984 {c |}{col 16}{res}{space 2} .1711929{col 28}{space 2} .1252515{col 39}{space 1}    1.37{col 48}{space 3}0.180{col 56}{space 4}-.0821521{col 69}{space 3} .4245379
{txt}{space 3}_Iyear_1985 {c |}{col 16}{res}{space 2} .1694729{col 28}{space 2}  .126701{col 39}{space 1}    1.34{col 48}{space 3}0.189{col 56}{space 4}-.0868041{col 69}{space 3} .4257499
{txt}{space 3}_Iyear_1986 {c |}{col 16}{res}{space 2} .1869981{col 28}{space 2} .1489253{col 39}{space 1}    1.26{col 48}{space 3}0.217{col 56}{space 4}-.1142317{col 69}{space 3}  .488228
{txt}{space 3}_Iyear_1987 {c |}{col 16}{res}{space 2}  .192719{col 28}{space 2} .1607315{col 39}{space 1}    1.20{col 48}{space 3}0.238{col 56}{space 4}-.1323911{col 69}{space 3} .5178292
{txt}{space 3}_Iyear_1988 {c |}{col 16}{res}{space 2} .2321783{col 28}{space 2} .1451879{col 39}{space 1}    1.60{col 48}{space 3}0.118{col 56}{space 4} -.061492{col 69}{space 3} .5258486
{txt}{space 3}_Iyear_1989 {c |}{col 16}{res}{space 2} .2207932{col 28}{space 2} .1669245{col 39}{space 1}    1.32{col 48}{space 3}0.194{col 56}{space 4}-.1168434{col 69}{space 3} .5584299
{txt}{space 3}_Iyear_1990 {c |}{col 16}{res}{space 2} .2607095{col 28}{space 2} .1605815{col 39}{space 1}    1.62{col 48}{space 3}0.113{col 56}{space 4}-.0640973{col 69}{space 3} .5855163
{txt}{space 3}_Iyear_1991 {c |}{col 16}{res}{space 2} .2768472{col 28}{space 2} .1700741{col 39}{space 1}    1.63{col 48}{space 3}0.112{col 56}{space 4}-.0671602{col 69}{space 3} .6208545
{txt}{space 3}_Iyear_1992 {c |}{col 16}{res}{space 2} .2087784{col 28}{space 2} .1923188{col 39}{space 1}    1.09{col 48}{space 3}0.284{col 56}{space 4}-.1802231{col 69}{space 3} .5977799
{txt}{space 3}_Iyear_1993 {c |}{col 16}{res}{space 2} .2504925{col 28}{space 2} .2225386{col 39}{space 1}    1.13{col 48}{space 3}0.267{col 56}{space 4}-.1996343{col 69}{space 3} .7006192
{txt}{space 3}_Iyear_1994 {c |}{col 16}{res}{space 2} .2546851{col 28}{space 2} .2518247{col 39}{space 1}    1.01{col 48}{space 3}0.318{col 56}{space 4}-.2546784{col 69}{space 3} .7640487
{txt}{space 3}_Iyear_1995 {c |}{col 16}{res}{space 2} .2770372{col 28}{space 2} .2670298{col 39}{space 1}    1.04{col 48}{space 3}0.306{col 56}{space 4}-.2630815{col 69}{space 3} .8171558
{txt}{space 3}_Iyear_1996 {c |}{col 16}{res}{space 2} .3059347{col 28}{space 2} .2618666{col 39}{space 1}    1.17{col 48}{space 3}0.250{col 56}{space 4}-.2237404{col 69}{space 3} .8356099
{txt}{space 3}_Iyear_1997 {c |}{col 16}{res}{space 2} .2424243{col 28}{space 2} .2776566{col 39}{space 1}    0.87{col 48}{space 3}0.388{col 56}{space 4}-.3191891{col 69}{space 3} .8040377
{txt}{space 3}_Iyear_1998 {c |}{col 16}{res}{space 2} .1841658{col 28}{space 2} .2725956{col 39}{space 1}    0.68{col 48}{space 3}0.503{col 56}{space 4}-.3672107{col 69}{space 3} .7355424
{txt}{space 3}_Iyear_1999 {c |}{col 16}{res}{space 2}-.2686324{col 28}{space 2} .2419052{col 39}{space 1}   -1.11{col 48}{space 3}0.274{col 56}{space 4}-.7579318{col 69}{space 3}  .220667
{txt}{space 3}_Iyear_2000 {c |}{col 16}{res}{space 2} .1779429{col 28}{space 2} .2413599{col 39}{space 1}    0.74{col 48}{space 3}0.465{col 56}{space 4}-.3102535{col 69}{space 3} .6661393
{txt}{space 3}_Iyear_2001 {c |}{col 16}{res}{space 2} .2949979{col 28}{space 2}  .231473{col 39}{space 1}    1.27{col 48}{space 3}0.210{col 56}{space 4}-.1732005{col 69}{space 3} .7631963
{txt}{space 3}_Iyear_2002 {c |}{col 16}{res}{space 2} .2366097{col 28}{space 2} .2265784{col 39}{space 1}    1.04{col 48}{space 3}0.303{col 56}{space 4}-.2216883{col 69}{space 3} .6949078
{txt}{space 3}_Iyear_2003 {c |}{col 16}{res}{space 2} .3448897{col 28}{space 2} .2250197{col 39}{space 1}    1.53{col 48}{space 3}0.133{col 56}{space 4}-.1102556{col 69}{space 3}  .800035
{txt}{space 3}_Iyear_2004 {c |}{col 16}{res}{space 2} .4907516{col 28}{space 2} .2419762{col 39}{space 1}    2.03{col 48}{space 3}0.049{col 56}{space 4} .0013086{col 69}{space 3} .9801946
{txt}{space 3}_Iyear_2005 {c |}{col 16}{res}{space 2} .6385368{col 28}{space 2} .2935485{col 39}{space 1}    2.18{col 48}{space 3}0.036{col 56}{space 4} .0447789{col 69}{space 3} 1.232295
{txt}{space 3}_Iyear_2006 {c |}{col 16}{res}{space 2} .6726398{col 28}{space 2} .3086354{col 39}{space 1}    2.18{col 48}{space 3}0.035{col 56}{space 4} .0483658{col 69}{space 3} 1.296914
{txt}{space 3}_Iyear_2007 {c |}{col 16}{res}{space 2} .8325271{col 28}{space 2} .3041106{col 39}{space 1}    2.74{col 48}{space 3}0.009{col 56}{space 4} .2174052{col 69}{space 3} 1.447649
{txt}{space 3}_Iyear_2008 {c |}{col 16}{res}{space 2} .6078963{col 28}{space 2} .3007391{col 39}{space 1}    2.02{col 48}{space 3}0.050{col 56}{space 4} -.000406{col 69}{space 3} 1.216199
{txt}{space 3}_Iyear_2009 {c |}{col 16}{res}{space 2} .5717753{col 28}{space 2} .2829033{col 39}{space 1}    2.02{col 48}{space 3}0.050{col 56}{space 4}-.0004507{col 69}{space 3} 1.144001
{txt}{space 3}_Iyear_2010 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2011 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2012 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2013 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2014 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2015 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2016 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2017 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2018 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2019 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA3, replace word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA3.rtf"'"':tableA3.rtf}
{browse `"tableA3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA3.txt", label"':seeout}

{com}. xtscc dv2 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 $year, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       925
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 56{txt},{res}    38{txt}){col 68}={res} 172013.65
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4870

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1477846{col 28}{space 2} .0831852{col 39}{space 1}    1.78{col 48}{space 3}0.084{col 56}{space 4}-.0206151{col 69}{space 3} .3161843
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .1068724{col 28}{space 2} .0860246{col 39}{space 1}    1.24{col 48}{space 3}0.222{col 56}{space 4}-.0672753{col 69}{space 3} .2810201
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .2799614{col 28}{space 2} .1346879{col 39}{space 1}    2.08{col 48}{space 3}0.044{col 56}{space 4} .0073001{col 69}{space 3} .5526228
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0679947{col 28}{space 2} .1610498{col 39}{space 1}    0.42{col 48}{space 3}0.675{col 56}{space 4}-.2580337{col 69}{space 3}  .394023
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.2903251{col 28}{space 2} .2714823{col 39}{space 1}   -1.07{col 48}{space 3}0.292{col 56}{space 4}-.8399123{col 69}{space 3} .2592622
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0795726{col 28}{space 2} .0230935{col 39}{space 1}   -3.45{col 48}{space 3}0.001{col 56}{space 4} -.126323{col 69}{space 3}-.0328222
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1053763{col 28}{space 2} .0470342{col 39}{space 1}    2.24{col 48}{space 3}0.031{col 56}{space 4} .0101605{col 69}{space 3}  .200592
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .0148688{col 28}{space 2} .1516674{col 39}{space 1}    0.10{col 48}{space 3}0.922{col 56}{space 4}-.2921657{col 69}{space 3} .3219033
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.8243794{col 28}{space 2} .3697231{col 39}{space 1}   -2.23{col 48}{space 3}0.032{col 56}{space 4}-1.572845{col 69}{space 3} -.075914
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0094582{col 28}{space 2} .0061575{col 39}{space 1}    1.54{col 48}{space 3}0.133{col 56}{space 4} -.003007{col 69}{space 3} .0219234
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0035489{col 28}{space 2} .0029566{col 39}{space 1}    1.20{col 48}{space 3}0.237{col 56}{space 4}-.0024364{col 69}{space 3} .0095342
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0009027{col 28}{space 2} .0166047{col 39}{space 1}    0.05{col 48}{space 3}0.957{col 56}{space 4}-.0327118{col 69}{space 3} .0345172
{txt}{space 6}resource {c |}{col 16}{res}{space 2}  .005677{col 28}{space 2} .0017581{col 39}{space 1}    3.23{col 48}{space 3}0.003{col 56}{space 4} .0021178{col 69}{space 3} .0092361
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0141065{col 28}{space 2} .0056238{col 39}{space 1}    2.51{col 48}{space 3}0.017{col 56}{space 4} .0027217{col 69}{space 3} .0254912
{txt}preconflictfdi {c |}{col 16}{res}{space 2}  1.97664{col 28}{space 2} .4691253{col 39}{space 1}    4.21{col 48}{space 3}0.000{col 56}{space 4} 1.026945{col 69}{space 3} 2.926334
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} -.035193{col 28}{space 2} .0507929{col 39}{space 1}   -0.69{col 48}{space 3}0.493{col 56}{space 4}-.1380177{col 69}{space 3} .0676318
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2} -.011893{col 28}{space 2}  .003601{col 39}{space 1}   -3.30{col 48}{space 3}0.002{col 56}{space 4}-.0191827{col 69}{space 3}-.0046032
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0510819{col 28}{space 2} .0253877{col 39}{space 1}    2.01{col 48}{space 3}0.051{col 56}{space 4}-.0003129{col 69}{space 3} .1024767
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} .0701655{col 28}{space 2} .0675802{col 39}{space 1}    1.04{col 48}{space 3}0.306{col 56}{space 4}-.0666435{col 69}{space 3} .2069746
{txt}{space 3}_Iyear_1971 {c |}{col 16}{res}{space 2} .0377819{col 28}{space 2} .0456999{col 39}{space 1}    0.83{col 48}{space 3}0.414{col 56}{space 4}-.0547327{col 69}{space 3} .1302965
{txt}{space 3}_Iyear_1972 {c |}{col 16}{res}{space 2} .0711378{col 28}{space 2} .0478493{col 39}{space 1}    1.49{col 48}{space 3}0.145{col 56}{space 4}-.0257282{col 69}{space 3} .1680037
{txt}{space 3}_Iyear_1973 {c |}{col 16}{res}{space 2} .1046803{col 28}{space 2} .0474702{col 39}{space 1}    2.21{col 48}{space 3}0.034{col 56}{space 4} .0085818{col 69}{space 3} .2007787
{txt}{space 3}_Iyear_1974 {c |}{col 16}{res}{space 2} .1333256{col 28}{space 2} .0517498{col 39}{space 1}    2.58{col 48}{space 3}0.014{col 56}{space 4} .0285636{col 69}{space 3} .2380877
{txt}{space 3}_Iyear_1975 {c |}{col 16}{res}{space 2} .1545331{col 28}{space 2} .0666884{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0195296{col 69}{space 3} .2895366
{txt}{space 3}_Iyear_1976 {c |}{col 16}{res}{space 2} .1530783{col 28}{space 2} .0705388{col 39}{space 1}    2.17{col 48}{space 3}0.036{col 56}{space 4} .0102799{col 69}{space 3} .2958766
{txt}{space 3}_Iyear_1977 {c |}{col 16}{res}{space 2} .1600688{col 28}{space 2} .0853837{col 39}{space 1}    1.87{col 48}{space 3}0.069{col 56}{space 4}-.0127816{col 69}{space 3} .3329191
{txt}{space 3}_Iyear_1978 {c |}{col 16}{res}{space 2} .1904285{col 28}{space 2} .1024113{col 39}{space 1}    1.86{col 48}{space 3}0.071{col 56}{space 4}-.0168923{col 69}{space 3} .3977492
{txt}{space 3}_Iyear_1979 {c |}{col 16}{res}{space 2} .2377823{col 28}{space 2} .1154686{col 39}{space 1}    2.06{col 48}{space 3}0.046{col 56}{space 4} .0040283{col 69}{space 3} .4715363
{txt}{space 3}_Iyear_1980 {c |}{col 16}{res}{space 2} .2147268{col 28}{space 2} .1161213{col 39}{space 1}    1.85{col 48}{space 3}0.072{col 56}{space 4}-.0203486{col 69}{space 3} .4498022
{txt}{space 3}_Iyear_1981 {c |}{col 16}{res}{space 2} .2215079{col 28}{space 2} .1195282{col 39}{space 1}    1.85{col 48}{space 3}0.072{col 56}{space 4}-.0204642{col 69}{space 3} .4634801
{txt}{space 3}_Iyear_1982 {c |}{col 16}{res}{space 2} .2338919{col 28}{space 2} .1273269{col 39}{space 1}    1.84{col 48}{space 3}0.074{col 56}{space 4}-.0238679{col 69}{space 3} .4916517
{txt}{space 3}_Iyear_1983 {c |}{col 16}{res}{space 2} .2521682{col 28}{space 2} .1346771{col 39}{space 1}    1.87{col 48}{space 3}0.069{col 56}{space 4}-.0204714{col 69}{space 3} .5248077
{txt}{space 3}_Iyear_1984 {c |}{col 16}{res}{space 2}  .306157{col 28}{space 2}   .14789{col 39}{space 1}    2.07{col 48}{space 3}0.045{col 56}{space 4} .0067693{col 69}{space 3} .6055446
{txt}{space 3}_Iyear_1985 {c |}{col 16}{res}{space 2} .3187056{col 28}{space 2} .1553939{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4} .0041272{col 69}{space 3} .6332841
{txt}{space 3}_Iyear_1986 {c |}{col 16}{res}{space 2} .3446034{col 28}{space 2} .1612161{col 39}{space 1}    2.14{col 48}{space 3}0.039{col 56}{space 4} .0182385{col 69}{space 3} .6709683
{txt}{space 3}_Iyear_1987 {c |}{col 16}{res}{space 2} .3646371{col 28}{space 2} .1666968{col 39}{space 1}    2.19{col 48}{space 3}0.035{col 56}{space 4} .0271772{col 69}{space 3} .7020971
{txt}{space 3}_Iyear_1988 {c |}{col 16}{res}{space 2} .3844193{col 28}{space 2} .1654593{col 39}{space 1}    2.32{col 48}{space 3}0.026{col 56}{space 4} .0494646{col 69}{space 3} .7193741
{txt}{space 3}_Iyear_1989 {c |}{col 16}{res}{space 2} .3934381{col 28}{space 2} .1774709{col 39}{space 1}    2.22{col 48}{space 3}0.033{col 56}{space 4} .0341671{col 69}{space 3} .7527092
{txt}{space 3}_Iyear_1990 {c |}{col 16}{res}{space 2} .4029192{col 28}{space 2} .1814983{col 39}{space 1}    2.22{col 48}{space 3}0.032{col 56}{space 4}  .035495{col 69}{space 3} .7703434
{txt}{space 3}_Iyear_1991 {c |}{col 16}{res}{space 2} .4589235{col 28}{space 2} .1911302{col 39}{space 1}    2.40{col 48}{space 3}0.021{col 56}{space 4} .0720006{col 69}{space 3} .8458464
{txt}{space 3}_Iyear_1992 {c |}{col 16}{res}{space 2} .4188025{col 28}{space 2} .1962173{col 39}{space 1}    2.13{col 48}{space 3}0.039{col 56}{space 4} .0215813{col 69}{space 3} .8160237
{txt}{space 3}_Iyear_1993 {c |}{col 16}{res}{space 2} .4737464{col 28}{space 2} .2117545{col 39}{space 1}    2.24{col 48}{space 3}0.031{col 56}{space 4} .0450719{col 69}{space 3} .9024209
{txt}{space 3}_Iyear_1994 {c |}{col 16}{res}{space 2} .4838615{col 28}{space 2} .2292341{col 39}{space 1}    2.11{col 48}{space 3}0.041{col 56}{space 4} .0198013{col 69}{space 3} .9479217
{txt}{space 3}_Iyear_1995 {c |}{col 16}{res}{space 2} .5374527{col 28}{space 2} .2402062{col 39}{space 1}    2.24{col 48}{space 3}0.031{col 56}{space 4} .0511807{col 69}{space 3} 1.023725
{txt}{space 3}_Iyear_1996 {c |}{col 16}{res}{space 2} .5122076{col 28}{space 2} .2450092{col 39}{space 1}    2.09{col 48}{space 3}0.043{col 56}{space 4} .0162123{col 69}{space 3} 1.008203
{txt}{space 3}_Iyear_1997 {c |}{col 16}{res}{space 2} .4624886{col 28}{space 2} .2589248{col 39}{space 1}    1.79{col 48}{space 3}0.082{col 56}{space 4}-.0616771{col 69}{space 3} .9866544
{txt}{space 3}_Iyear_1998 {c |}{col 16}{res}{space 2} .3286163{col 28}{space 2} .2639707{col 39}{space 1}    1.24{col 48}{space 3}0.221{col 56}{space 4}-.2057643{col 69}{space 3}  .862997
{txt}{space 3}_Iyear_1999 {c |}{col 16}{res}{space 2} .2143439{col 28}{space 2} .2659729{col 39}{space 1}    0.81{col 48}{space 3}0.425{col 56}{space 4}-.3240901{col 69}{space 3} .7527778
{txt}{space 3}_Iyear_2000 {c |}{col 16}{res}{space 2} .4727382{col 28}{space 2} .2751623{col 39}{space 1}    1.72{col 48}{space 3}0.094{col 56}{space 4}-.0842987{col 69}{space 3} 1.029775
{txt}{space 3}_Iyear_2001 {c |}{col 16}{res}{space 2} .5125299{col 28}{space 2} .2841768{col 39}{space 1}    1.80{col 48}{space 3}0.079{col 56}{space 4} -.062756{col 69}{space 3} 1.087816
{txt}{space 3}_Iyear_2002 {c |}{col 16}{res}{space 2} .5227914{col 28}{space 2}  .287379{col 39}{space 1}    1.82{col 48}{space 3}0.077{col 56}{space 4} -.058977{col 69}{space 3}  1.10456
{txt}{space 3}_Iyear_2003 {c |}{col 16}{res}{space 2} .6513835{col 28}{space 2} .2880203{col 39}{space 1}    2.26{col 48}{space 3}0.030{col 56}{space 4} .0683169{col 69}{space 3}  1.23445
{txt}{space 3}_Iyear_2004 {c |}{col 16}{res}{space 2} .8775709{col 28}{space 2} .3006861{col 39}{space 1}    2.92{col 48}{space 3}0.006{col 56}{space 4} .2688637{col 69}{space 3} 1.486278
{txt}{space 3}_Iyear_2005 {c |}{col 16}{res}{space 2} .9726689{col 28}{space 2} .3176531{col 39}{space 1}    3.06{col 48}{space 3}0.004{col 56}{space 4} .3296138{col 69}{space 3} 1.615724
{txt}{space 3}_Iyear_2006 {c |}{col 16}{res}{space 2} 1.008541{col 28}{space 2} .3302088{col 39}{space 1}    3.05{col 48}{space 3}0.004{col 56}{space 4}  .340068{col 69}{space 3} 1.677014
{txt}{space 3}_Iyear_2007 {c |}{col 16}{res}{space 2}  1.00319{col 28}{space 2} .3349896{col 39}{space 1}    2.99{col 48}{space 3}0.005{col 56}{space 4} .3250385{col 69}{space 3}  1.68134
{txt}{space 3}_Iyear_2008 {c |}{col 16}{res}{space 2} .8740579{col 28}{space 2} .3391435{col 39}{space 1}    2.58{col 48}{space 3}0.014{col 56}{space 4} .1874978{col 69}{space 3} 1.560618
{txt}{space 3}_Iyear_2009 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2010 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2011 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2012 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2013 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2014 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2015 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2016 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2017 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2018 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2019 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA3.rtf"'"':tableA3.rtf}
{browse `"tableA3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA3.txt", label"':seeout}

{com}. xtscc dv3 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 $year, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       894
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 55{txt},{res}    37{txt}){col 68}={res}  67324.37
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5418

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1399277{col 28}{space 2} .0705463{col 39}{space 1}    1.98{col 48}{space 3}0.055{col 56}{space 4}-.0030128{col 69}{space 3} .2828682
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0568465{col 28}{space 2} .0644136{col 39}{space 1}    0.88{col 48}{space 3}0.383{col 56}{space 4}-.0736678{col 69}{space 3} .1873608
{txt}peace3rd_major {c |}{col 16}{res}{space 2}  .309237{col 28}{space 2} .1384837{col 39}{space 1}    2.23{col 48}{space 3}0.032{col 56}{space 4} .0286423{col 69}{space 3} .5898317
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0414563{col 28}{space 2} .1061042{col 39}{space 1}    0.39{col 48}{space 3}0.698{col 56}{space 4}-.1735312{col 69}{space 3} .2564439
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1336879{col 28}{space 2} .2313188{col 39}{space 1}   -0.58{col 48}{space 3}0.567{col 56}{space 4}-.6023843{col 69}{space 3} .3350086
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0613482{col 28}{space 2} .0224917{col 39}{space 1}   -2.73{col 48}{space 3}0.010{col 56}{space 4}-.1069206{col 69}{space 3}-.0157757
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1155703{col 28}{space 2} .0581297{col 39}{space 1}    1.99{col 48}{space 3}0.054{col 56}{space 4}-.0022116{col 69}{space 3} .2333522
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .0071762{col 28}{space 2} .2256871{col 39}{space 1}    0.03{col 48}{space 3}0.975{col 56}{space 4}-.4501093{col 69}{space 3} .4644617
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-1.025766{col 28}{space 2} .4158276{col 39}{space 1}   -2.47{col 48}{space 3}0.018{col 56}{space 4}-1.868313{col 69}{space 3}-.1832196
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0076696{col 28}{space 2} .0049112{col 39}{space 1}    1.56{col 48}{space 3}0.127{col 56}{space 4}-.0022815{col 69}{space 3} .0176206
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0041815{col 28}{space 2} .0023987{col 39}{space 1}    1.74{col 48}{space 3}0.090{col 56}{space 4}-.0006787{col 69}{space 3} .0090416
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}  -.00967{col 28}{space 2}  .014592{col 39}{space 1}   -0.66{col 48}{space 3}0.512{col 56}{space 4}-.0392362{col 69}{space 3} .0198962
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0057025{col 28}{space 2}  .001892{col 39}{space 1}    3.01{col 48}{space 3}0.005{col 56}{space 4} .0018691{col 69}{space 3}  .009536
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0131275{col 28}{space 2}  .004938{col 39}{space 1}    2.66{col 48}{space 3}0.012{col 56}{space 4} .0031223{col 69}{space 3} .0231328
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 2.231507{col 28}{space 2} .5721392{col 39}{space 1}    3.90{col 48}{space 3}0.000{col 56}{space 4} 1.072243{col 69}{space 3} 3.390771
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0679372{col 28}{space 2} .0377847{col 39}{space 1}   -1.80{col 48}{space 3}0.080{col 56}{space 4}-.1444962{col 69}{space 3} .0086218
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0115889{col 28}{space 2} .0034772{col 39}{space 1}   -3.33{col 48}{space 3}0.002{col 56}{space 4}-.0186343{col 69}{space 3}-.0045434
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0526925{col 28}{space 2}  .025208{col 39}{space 1}    2.09{col 48}{space 3}0.044{col 56}{space 4} .0016162{col 69}{space 3} .1037688
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} .0299373{col 28}{space 2} .0515767{col 39}{space 1}    0.58{col 48}{space 3}0.565{col 56}{space 4}-.0745669{col 69}{space 3} .1344416
{txt}{space 3}_Iyear_1971 {c |}{col 16}{res}{space 2} .0461164{col 28}{space 2} .0424839{col 39}{space 1}    1.09{col 48}{space 3}0.285{col 56}{space 4}-.0399643{col 69}{space 3}  .132197
{txt}{space 3}_Iyear_1972 {c |}{col 16}{res}{space 2} .0741134{col 28}{space 2} .0510637{col 39}{space 1}    1.45{col 48}{space 3}0.155{col 56}{space 4}-.0293515{col 69}{space 3} .1775782
{txt}{space 3}_Iyear_1973 {c |}{col 16}{res}{space 2}  .118326{col 28}{space 2} .0620398{col 39}{space 1}    1.91{col 48}{space 3}0.064{col 56}{space 4}-.0073785{col 69}{space 3} .2440305
{txt}{space 3}_Iyear_1974 {c |}{col 16}{res}{space 2} .1504061{col 28}{space 2} .0675848{col 39}{space 1}    2.23{col 48}{space 3}0.032{col 56}{space 4} .0134664{col 69}{space 3} .2873459
{txt}{space 3}_Iyear_1975 {c |}{col 16}{res}{space 2} .1764981{col 28}{space 2} .0860186{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4} .0022078{col 69}{space 3} .3507884
{txt}{space 3}_Iyear_1976 {c |}{col 16}{res}{space 2} .1818285{col 28}{space 2} .0957948{col 39}{space 1}    1.90{col 48}{space 3}0.066{col 56}{space 4}-.0122702{col 69}{space 3} .3759271
{txt}{space 3}_Iyear_1977 {c |}{col 16}{res}{space 2} .1988419{col 28}{space 2} .1134233{col 39}{space 1}    1.75{col 48}{space 3}0.088{col 56}{space 4}-.0309755{col 69}{space 3} .4286593
{txt}{space 3}_Iyear_1978 {c |}{col 16}{res}{space 2} .2363632{col 28}{space 2} .1319095{col 39}{space 1}    1.79{col 48}{space 3}0.081{col 56}{space 4}-.0309109{col 69}{space 3} .5036373
{txt}{space 3}_Iyear_1979 {c |}{col 16}{res}{space 2} .2836225{col 28}{space 2} .1446861{col 39}{space 1}    1.96{col 48}{space 3}0.058{col 56}{space 4}-.0095394{col 69}{space 3} .5767844
{txt}{space 3}_Iyear_1980 {c |}{col 16}{res}{space 2} .2676075{col 28}{space 2} .1463391{col 39}{space 1}    1.83{col 48}{space 3}0.076{col 56}{space 4}-.0289036{col 69}{space 3} .5641185
{txt}{space 3}_Iyear_1981 {c |}{col 16}{res}{space 2} .2774997{col 28}{space 2}  .151892{col 39}{space 1}    1.83{col 48}{space 3}0.076{col 56}{space 4}-.0302628{col 69}{space 3} .5852621
{txt}{space 3}_Iyear_1982 {c |}{col 16}{res}{space 2} .2925966{col 28}{space 2} .1590784{col 39}{space 1}    1.84{col 48}{space 3}0.074{col 56}{space 4}-.0297269{col 69}{space 3}   .61492
{txt}{space 3}_Iyear_1983 {c |}{col 16}{res}{space 2} .3179953{col 28}{space 2} .1667267{col 39}{space 1}    1.91{col 48}{space 3}0.064{col 56}{space 4} -.019825{col 69}{space 3} .6558155
{txt}{space 3}_Iyear_1984 {c |}{col 16}{res}{space 2} .3793851{col 28}{space 2} .1800897{col 39}{space 1}    2.11{col 48}{space 3}0.042{col 56}{space 4} .0144887{col 69}{space 3} .7442816
{txt}{space 3}_Iyear_1985 {c |}{col 16}{res}{space 2} .4014238{col 28}{space 2} .1889841{col 39}{space 1}    2.12{col 48}{space 3}0.040{col 56}{space 4} .0185056{col 69}{space 3}  .784342
{txt}{space 3}_Iyear_1986 {c |}{col 16}{res}{space 2} .4358949{col 28}{space 2} .1978017{col 39}{space 1}    2.20{col 48}{space 3}0.034{col 56}{space 4} .0351106{col 69}{space 3} .8366793
{txt}{space 3}_Iyear_1987 {c |}{col 16}{res}{space 2} .4599969{col 28}{space 2} .2040974{col 39}{space 1}    2.25{col 48}{space 3}0.030{col 56}{space 4} .0464562{col 69}{space 3} .8735376
{txt}{space 3}_Iyear_1988 {c |}{col 16}{res}{space 2} .4736324{col 28}{space 2}  .201966{col 39}{space 1}    2.35{col 48}{space 3}0.024{col 56}{space 4} .0644105{col 69}{space 3} .8828544
{txt}{space 3}_Iyear_1989 {c |}{col 16}{res}{space 2} .4987845{col 28}{space 2}  .212808{col 39}{space 1}    2.34{col 48}{space 3}0.025{col 56}{space 4} .0675945{col 69}{space 3} .9299745
{txt}{space 3}_Iyear_1990 {c |}{col 16}{res}{space 2} .5057376{col 28}{space 2} .2132672{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .0736172{col 69}{space 3} .9378581
{txt}{space 3}_Iyear_1991 {c |}{col 16}{res}{space 2}  .576228{col 28}{space 2} .2265903{col 39}{space 1}    2.54{col 48}{space 3}0.015{col 56}{space 4} .1171124{col 69}{space 3} 1.035344
{txt}{space 3}_Iyear_1992 {c |}{col 16}{res}{space 2} .5608565{col 28}{space 2} .2284311{col 39}{space 1}    2.46{col 48}{space 3}0.019{col 56}{space 4}  .098011{col 69}{space 3} 1.023702
{txt}{space 3}_Iyear_1993 {c |}{col 16}{res}{space 2} .6124728{col 28}{space 2} .2365068{col 39}{space 1}    2.59{col 48}{space 3}0.014{col 56}{space 4} .1332644{col 69}{space 3} 1.091681
{txt}{space 3}_Iyear_1994 {c |}{col 16}{res}{space 2} .6454695{col 28}{space 2} .2488933{col 39}{space 1}    2.59{col 48}{space 3}0.014{col 56}{space 4} .1411636{col 69}{space 3} 1.149775
{txt}{space 3}_Iyear_1995 {c |}{col 16}{res}{space 2} .6791857{col 28}{space 2} .2587214{col 39}{space 1}    2.63{col 48}{space 3}0.013{col 56}{space 4} .1549665{col 69}{space 3} 1.203405
{txt}{space 3}_Iyear_1996 {c |}{col 16}{res}{space 2} .6378277{col 28}{space 2} .2656262{col 39}{space 1}    2.40{col 48}{space 3}0.021{col 56}{space 4} .0996179{col 69}{space 3} 1.176037
{txt}{space 3}_Iyear_1997 {c |}{col 16}{res}{space 2} .5409677{col 28}{space 2} .2842535{col 39}{space 1}    1.90{col 48}{space 3}0.065{col 56}{space 4}-.0349846{col 69}{space 3}  1.11692
{txt}{space 3}_Iyear_1998 {c |}{col 16}{res}{space 2} .5314491{col 28}{space 2} .2941147{col 39}{space 1}    1.81{col 48}{space 3}0.079{col 56}{space 4}-.0644838{col 69}{space 3} 1.127382
{txt}{space 3}_Iyear_1999 {c |}{col 16}{res}{space 2} .4838676{col 28}{space 2} .3003479{col 39}{space 1}    1.61{col 48}{space 3}0.116{col 56}{space 4} -.124695{col 69}{space 3}  1.09243
{txt}{space 3}_Iyear_2000 {c |}{col 16}{res}{space 2} .6449429{col 28}{space 2} .3106999{col 39}{space 1}    2.08{col 48}{space 3}0.045{col 56}{space 4} .0154051{col 69}{space 3} 1.274481
{txt}{space 3}_Iyear_2001 {c |}{col 16}{res}{space 2} .7085762{col 28}{space 2} .3180366{col 39}{space 1}    2.23{col 48}{space 3}0.032{col 56}{space 4} .0641729{col 69}{space 3}  1.35298
{txt}{space 3}_Iyear_2002 {c |}{col 16}{res}{space 2}  .775149{col 28}{space 2} .3219147{col 39}{space 1}    2.41{col 48}{space 3}0.021{col 56}{space 4} .1228878{col 69}{space 3}  1.42741
{txt}{space 3}_Iyear_2003 {c |}{col 16}{res}{space 2} .9520954{col 28}{space 2} .3257237{col 39}{space 1}    2.92{col 48}{space 3}0.006{col 56}{space 4} .2921164{col 69}{space 3} 1.612074
{txt}{space 3}_Iyear_2004 {c |}{col 16}{res}{space 2} 1.154016{col 28}{space 2} .3392334{col 39}{space 1}    3.40{col 48}{space 3}0.002{col 56}{space 4} .4666639{col 69}{space 3} 1.841368
{txt}{space 3}_Iyear_2005 {c |}{col 16}{res}{space 2} 1.224528{col 28}{space 2} .3474756{col 39}{space 1}    3.52{col 48}{space 3}0.001{col 56}{space 4} .5204758{col 69}{space 3}  1.92858
{txt}{space 3}_Iyear_2006 {c |}{col 16}{res}{space 2} 1.174953{col 28}{space 2} .3568163{col 39}{space 1}    3.29{col 48}{space 3}0.002{col 56}{space 4}  .451975{col 69}{space 3} 1.897932
{txt}{space 3}_Iyear_2007 {c |}{col 16}{res}{space 2} 1.163283{col 28}{space 2} .3766802{col 39}{space 1}    3.09{col 48}{space 3}0.004{col 56}{space 4} .4000559{col 69}{space 3} 1.926509
{txt}{space 3}_Iyear_2008 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2009 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2010 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2011 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2012 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2013 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2014 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2015 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2016 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2017 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2018 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2019 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA3, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA3.rtf"'"':tableA3.rtf}
{browse `"tableA3.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA3.txt", label"':seeout}

{com}. 
. 
. 
. 
. *** Table A4 ***        
. *** Table A4 ***        
. *** Table A4 ***        
. 
. use fdifinal_regression, clear
{txt}
{com}. 
. xi i.ccode i.year
{txt}i.ccode{col 19}_Iccode_0-910{col 39}(naturally coded; _Iccode_0 omitted)
i.year{col 19}_Iyear_1970-2019{col 39}(naturally coded; _Iyear_1970 omitted)

{com}. global year = "_Iyear*"
{txt}
{com}. 
. 
. global c1 = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify preconflictfdi politydem lnbanks lnduration cumint"
{txt}
{com}. 
. xtscc dv1_2 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 $year, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       961
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 57{txt},{res}    39{txt}){col 68}={res}  47220.02
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3911

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}         dv1_2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .8381353{col 28}{space 2} .4084412{col 39}{space 1}    2.05{col 48}{space 3}0.047{col 56}{space 4}  .011985{col 69}{space 3} 1.664286
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .9950455{col 28}{space 2} .7890447{col 39}{space 1}    1.26{col 48}{space 3}0.215{col 56}{space 4}-.6009481{col 69}{space 3} 2.591039
{txt}peace3rd_major {c |}{col 16}{res}{space 2} 1.846541{col 28}{space 2} 1.394063{col 39}{space 1}    1.32{col 48}{space 3}0.193{col 56}{space 4}-.9732168{col 69}{space 3} 4.666299
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2}-.3784816{col 28}{space 2} .8964809{col 39}{space 1}   -0.42{col 48}{space 3}0.675{col 56}{space 4}-2.191785{col 69}{space 3} 1.434822
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-2.199566{col 28}{space 2} 1.457613{col 39}{space 1}   -1.51{col 48}{space 3}0.139{col 56}{space 4}-5.147866{col 69}{space 3}  .748735
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.1554545{col 28}{space 2} .2796913{col 39}{space 1}   -0.56{col 48}{space 3}0.582{col 56}{space 4}-.7211835{col 69}{space 3} .4102745
{txt}{space 11}low {c |}{col 16}{res}{space 2} .4633573{col 28}{space 2} .1970197{col 39}{space 1}    2.35{col 48}{space 3}0.024{col 56}{space 4} .0648474{col 69}{space 3} .8618672
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2}-.7940537{col 28}{space 2} 1.246782{col 39}{space 1}   -0.64{col 48}{space 3}0.528{col 56}{space 4}-3.315907{col 69}{space 3}   1.7278
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} 1.088457{col 28}{space 2} 1.215376{col 39}{space 1}    0.90{col 48}{space 3}0.376{col 56}{space 4}-1.369873{col 69}{space 3} 3.546786
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}  .053418{col 28}{space 2} .0194878{col 39}{space 1}    2.74{col 48}{space 3}0.009{col 56}{space 4} .0140001{col 69}{space 3} .0928358
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2}-.0039341{col 28}{space 2} .0183908{col 39}{space 1}   -0.21{col 48}{space 3}0.832{col 56}{space 4}-.0411331{col 69}{space 3} .0332648
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .3562428{col 28}{space 2} .1216949{col 39}{space 1}    2.93{col 48}{space 3}0.006{col 56}{space 4} .1100916{col 69}{space 3}  .602394
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0160806{col 28}{space 2} .0064705{col 39}{space 1}    2.49{col 48}{space 3}0.017{col 56}{space 4} .0029927{col 69}{space 3} .0291685
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0087279{col 28}{space 2} .0170036{col 39}{space 1}    0.51{col 48}{space 3}0.611{col 56}{space 4}-.0256651{col 69}{space 3} .0431208
{txt}preconflictfdi {c |}{col 16}{res}{space 2}-.3573934{col 28}{space 2} 1.995619{col 39}{space 1}   -0.18{col 48}{space 3}0.859{col 56}{space 4}-4.393914{col 69}{space 3} 3.679127
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0147556{col 28}{space 2} .4992137{col 39}{space 1}    0.03{col 48}{space 3}0.977{col 56}{space 4}-.9949994{col 69}{space 3} 1.024511
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0670153{col 28}{space 2} .0232421{col 39}{space 1}   -2.88{col 48}{space 3}0.006{col 56}{space 4}-.1140268{col 69}{space 3}-.0200038
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .3391417{col 28}{space 2} .1162889{col 39}{space 1}    2.92{col 48}{space 3}0.006{col 56}{space 4} .1039251{col 69}{space 3} .5743582
{txt}{space 8}cumint {c |}{col 16}{res}{space 2}  .726388{col 28}{space 2} .3470011{col 39}{space 1}    2.09{col 48}{space 3}0.043{col 56}{space 4}  .024512{col 69}{space 3} 1.428264
{txt}{space 3}_Iyear_1971 {c |}{col 16}{res}{space 2} -.012837{col 28}{space 2} .2214374{col 39}{space 1}   -0.06{col 48}{space 3}0.954{col 56}{space 4}-.4607363{col 69}{space 3} .4350624
{txt}{space 3}_Iyear_1972 {c |}{col 16}{res}{space 2} .3914077{col 28}{space 2} .2455038{col 39}{space 1}    1.59{col 48}{space 3}0.119{col 56}{space 4}-.1051705{col 69}{space 3} .8879859
{txt}{space 3}_Iyear_1973 {c |}{col 16}{res}{space 2}-.0684371{col 28}{space 2} .3095162{col 39}{space 1}   -0.22{col 48}{space 3}0.826{col 56}{space 4}-.6944927{col 69}{space 3} .5576186
{txt}{space 3}_Iyear_1974 {c |}{col 16}{res}{space 2} 1.073164{col 28}{space 2} .3376358{col 39}{space 1}    3.18{col 48}{space 3}0.003{col 56}{space 4} .3902314{col 69}{space 3} 1.756097
{txt}{space 3}_Iyear_1975 {c |}{col 16}{res}{space 2} 1.164631{col 28}{space 2} .3865513{col 39}{space 1}    3.01{col 48}{space 3}0.005{col 56}{space 4} .3827573{col 69}{space 3} 1.946505
{txt}{space 3}_Iyear_1976 {c |}{col 16}{res}{space 2} .8494848{col 28}{space 2} .4280701{col 39}{space 1}    1.98{col 48}{space 3}0.054{col 56}{space 4}-.0163688{col 69}{space 3} 1.715338
{txt}{space 3}_Iyear_1977 {c |}{col 16}{res}{space 2} .8320733{col 28}{space 2} .4706188{col 39}{space 1}    1.77{col 48}{space 3}0.085{col 56}{space 4} -.119843{col 69}{space 3}  1.78399
{txt}{space 3}_Iyear_1978 {c |}{col 16}{res}{space 2}-.1757139{col 28}{space 2} .5163321{col 39}{space 1}   -0.34{col 48}{space 3}0.735{col 56}{space 4}-1.220094{col 69}{space 3} .8686665
{txt}{space 3}_Iyear_1979 {c |}{col 16}{res}{space 2}  1.30893{col 28}{space 2} .5524638{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .1914666{col 69}{space 3} 2.426393
{txt}{space 3}_Iyear_1980 {c |}{col 16}{res}{space 2} 1.300674{col 28}{space 2} .5546242{col 39}{space 1}    2.35{col 48}{space 3}0.024{col 56}{space 4} .1788412{col 69}{space 3} 2.422508
{txt}{space 3}_Iyear_1981 {c |}{col 16}{res}{space 2} 1.432295{col 28}{space 2} .6199418{col 39}{space 1}    2.31{col 48}{space 3}0.026{col 56}{space 4} .1783444{col 69}{space 3} 2.686246
{txt}{space 3}_Iyear_1982 {c |}{col 16}{res}{space 2} 1.232819{col 28}{space 2} .6225329{col 39}{space 1}    1.98{col 48}{space 3}0.055{col 56}{space 4}-.0263731{col 69}{space 3}  2.49201
{txt}{space 3}_Iyear_1983 {c |}{col 16}{res}{space 2}  .796911{col 28}{space 2} .6401873{col 39}{space 1}    1.24{col 48}{space 3}0.221{col 56}{space 4}  -.49799{col 69}{space 3} 2.091812
{txt}{space 3}_Iyear_1984 {c |}{col 16}{res}{space 2} .6391842{col 28}{space 2} .6485946{col 39}{space 1}    0.99{col 48}{space 3}0.330{col 56}{space 4}-.6727223{col 69}{space 3} 1.951091
{txt}{space 3}_Iyear_1985 {c |}{col 16}{res}{space 2} .7421736{col 28}{space 2}  .676985{col 39}{space 1}    1.10{col 48}{space 3}0.280{col 56}{space 4}-.6271577{col 69}{space 3} 2.111505
{txt}{space 3}_Iyear_1986 {c |}{col 16}{res}{space 2} 1.610872{col 28}{space 2} .6801919{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .2350538{col 69}{space 3}  2.98669
{txt}{space 3}_Iyear_1987 {c |}{col 16}{res}{space 2} 1.624719{col 28}{space 2} .7183727{col 39}{space 1}    2.26{col 48}{space 3}0.029{col 56}{space 4} .1716735{col 69}{space 3} 3.077765
{txt}{space 3}_Iyear_1988 {c |}{col 16}{res}{space 2} 1.581608{col 28}{space 2}   .73668{col 39}{space 1}    2.15{col 48}{space 3}0.038{col 56}{space 4} .0915317{col 69}{space 3} 3.071684
{txt}{space 3}_Iyear_1989 {c |}{col 16}{res}{space 2} .9466252{col 28}{space 2} .7727576{col 39}{space 1}    1.22{col 48}{space 3}0.228{col 56}{space 4}-.6164246{col 69}{space 3} 2.509675
{txt}{space 3}_Iyear_1990 {c |}{col 16}{res}{space 2} 1.007672{col 28}{space 2} .7439321{col 39}{space 1}    1.35{col 48}{space 3}0.183{col 56}{space 4}-.4970723{col 69}{space 3} 2.512417
{txt}{space 3}_Iyear_1991 {c |}{col 16}{res}{space 2}  1.37457{col 28}{space 2}  .861775{col 39}{space 1}    1.60{col 48}{space 3}0.119{col 56}{space 4}-.3685343{col 69}{space 3} 3.117675
{txt}{space 3}_Iyear_1992 {c |}{col 16}{res}{space 2} 1.479328{col 28}{space 2}  .912045{col 39}{space 1}    1.62{col 48}{space 3}0.113{col 56}{space 4} -.365457{col 69}{space 3} 3.324113
{txt}{space 3}_Iyear_1993 {c |}{col 16}{res}{space 2} 2.062789{col 28}{space 2} .9544817{col 39}{space 1}    2.16{col 48}{space 3}0.037{col 56}{space 4} .1321674{col 69}{space 3}  3.99341
{txt}{space 3}_Iyear_1994 {c |}{col 16}{res}{space 2} 2.288338{col 28}{space 2} .9753683{col 39}{space 1}    2.35{col 48}{space 3}0.024{col 56}{space 4} .3154694{col 69}{space 3} 4.261207
{txt}{space 3}_Iyear_1995 {c |}{col 16}{res}{space 2} 2.244853{col 28}{space 2}  1.06097{col 39}{space 1}    2.12{col 48}{space 3}0.041{col 56}{space 4} .0988379{col 69}{space 3} 4.390869
{txt}{space 3}_Iyear_1996 {c |}{col 16}{res}{space 2} 2.968718{col 28}{space 2} 1.086124{col 39}{space 1}    2.73{col 48}{space 3}0.009{col 56}{space 4} .7718234{col 69}{space 3} 5.165612
{txt}{space 3}_Iyear_1997 {c |}{col 16}{res}{space 2} 2.323355{col 28}{space 2} 1.147259{col 39}{space 1}    2.03{col 48}{space 3}0.050{col 56}{space 4} .0028039{col 69}{space 3} 4.643905
{txt}{space 3}_Iyear_1998 {c |}{col 16}{res}{space 2} 2.113347{col 28}{space 2} 1.148116{col 39}{space 1}    1.84{col 48}{space 3}0.073{col 56}{space 4}-.2089365{col 69}{space 3}  4.43563
{txt}{space 3}_Iyear_1999 {c |}{col 16}{res}{space 2} 1.957954{col 28}{space 2} 1.206038{col 39}{space 1}    1.62{col 48}{space 3}0.113{col 56}{space 4}-.4814877{col 69}{space 3} 4.397395
{txt}{space 3}_Iyear_2000 {c |}{col 16}{res}{space 2} 2.036531{col 28}{space 2} 1.287671{col 39}{space 1}    1.58{col 48}{space 3}0.122{col 56}{space 4}-.5680296{col 69}{space 3} 4.641091
{txt}{space 3}_Iyear_2001 {c |}{col 16}{res}{space 2}   2.8897{col 28}{space 2} 1.297135{col 39}{space 1}    2.23{col 48}{space 3}0.032{col 56}{space 4} .2659957{col 69}{space 3} 5.513404
{txt}{space 3}_Iyear_2002 {c |}{col 16}{res}{space 2} 2.018809{col 28}{space 2} 1.336546{col 39}{space 1}    1.51{col 48}{space 3}0.139{col 56}{space 4}-.6846101{col 69}{space 3} 4.722229
{txt}{space 3}_Iyear_2003 {c |}{col 16}{res}{space 2} 3.185514{col 28}{space 2} 1.366456{col 39}{space 1}    2.33{col 48}{space 3}0.025{col 56}{space 4} .4215948{col 69}{space 3} 5.949433
{txt}{space 3}_Iyear_2004 {c |}{col 16}{res}{space 2} 3.570884{col 28}{space 2} 1.436058{col 39}{space 1}    2.49{col 48}{space 3}0.017{col 56}{space 4} .6661825{col 69}{space 3} 6.475585
{txt}{space 3}_Iyear_2005 {c |}{col 16}{res}{space 2} 3.411538{col 28}{space 2} 1.457082{col 39}{space 1}    2.34{col 48}{space 3}0.024{col 56}{space 4} .4643122{col 69}{space 3} 6.358763
{txt}{space 3}_Iyear_2006 {c |}{col 16}{res}{space 2} 4.009905{col 28}{space 2} 1.564697{col 39}{space 1}    2.56{col 48}{space 3}0.014{col 56}{space 4} .8450059{col 69}{space 3} 7.174804
{txt}{space 3}_Iyear_2007 {c |}{col 16}{res}{space 2} 4.254848{col 28}{space 2} 1.627605{col 39}{space 1}    2.61{col 48}{space 3}0.013{col 56}{space 4} .9627057{col 69}{space 3}  7.54699
{txt}{space 3}_Iyear_2008 {c |}{col 16}{res}{space 2} 4.111977{col 28}{space 2} 1.598454{col 39}{space 1}    2.57{col 48}{space 3}0.014{col 56}{space 4} .8787988{col 69}{space 3} 7.345155
{txt}{space 3}_Iyear_2009 {c |}{col 16}{res}{space 2} 3.998451{col 28}{space 2} 1.690265{col 39}{space 1}    2.37{col 48}{space 3}0.023{col 56}{space 4} .5795677{col 69}{space 3} 7.417334
{txt}{space 3}_Iyear_2010 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2011 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2012 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2013 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2014 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2015 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2016 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2017 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2018 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2019 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA4, replace word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA4.rtf"'"':tableA4.rtf}
{browse `"tableA4.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA4.txt", label"':seeout}

{com}. xtscc dv2_2 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 $year, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       926
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 56{txt},{res}    38{txt}){col 68}={res}  13711.66
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4569

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}         dv2_2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2}  .810583{col 28}{space 2}  .384266{col 39}{space 1}    2.11{col 48}{space 3}0.042{col 56}{space 4} .0326771{col 69}{space 3} 1.588489
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .3349326{col 28}{space 2} .9129152{col 39}{space 1}    0.37{col 48}{space 3}0.716{col 56}{space 4}-1.513168{col 69}{space 3} 2.183033
{txt}peace3rd_major {c |}{col 16}{res}{space 2} 2.894034{col 28}{space 2} 1.278191{col 39}{space 1}    2.26{col 48}{space 3}0.029{col 56}{space 4} .3064719{col 69}{space 3} 5.481596
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2}-.5158162{col 28}{space 2} .8115332{col 39}{space 1}   -0.64{col 48}{space 3}0.529{col 56}{space 4}-2.158679{col 69}{space 3} 1.127047
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-1.966292{col 28}{space 2} 1.192312{col 39}{space 1}   -1.65{col 48}{space 3}0.107{col 56}{space 4}-4.380002{col 69}{space 3} .4474176
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.1776079{col 28}{space 2} .2401002{col 39}{space 1}   -0.74{col 48}{space 3}0.464{col 56}{space 4}-.6636654{col 69}{space 3} .3084496
{txt}{space 11}low {c |}{col 16}{res}{space 2} .3459816{col 28}{space 2} .2144514{col 39}{space 1}    1.61{col 48}{space 3}0.115{col 56}{space 4}-.0881525{col 69}{space 3} .7801158
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2}-1.153614{col 28}{space 2} 1.315316{col 39}{space 1}   -0.88{col 48}{space 3}0.386{col 56}{space 4}-3.816332{col 69}{space 3} 1.509105
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} .2495464{col 28}{space 2} 1.137438{col 39}{space 1}    0.22{col 48}{space 3}0.828{col 56}{space 4}-2.053076{col 69}{space 3} 2.552169
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0577543{col 28}{space 2} .0192367{col 39}{space 1}    3.00{col 48}{space 3}0.005{col 56}{space 4} .0188116{col 69}{space 3}  .096697
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2}-.0041451{col 28}{space 2} .0187874{col 39}{space 1}   -0.22{col 48}{space 3}0.827{col 56}{space 4}-.0421782{col 69}{space 3} .0338881
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}  .262862{col 28}{space 2} .1415027{col 39}{space 1}    1.86{col 48}{space 3}0.071{col 56}{space 4}-.0235952{col 69}{space 3} .5493193
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0203569{col 28}{space 2} .0059935{col 39}{space 1}    3.40{col 48}{space 3}0.002{col 56}{space 4} .0082238{col 69}{space 3} .0324901
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0122254{col 28}{space 2} .0192817{col 39}{space 1}    0.63{col 48}{space 3}0.530{col 56}{space 4}-.0268084{col 69}{space 3} .0512592
{txt}preconflictfdi {c |}{col 16}{res}{space 2}  .937729{col 28}{space 2} 2.134275{col 39}{space 1}    0.44{col 48}{space 3}0.663{col 56}{space 4}-3.382885{col 69}{space 3} 5.258343
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.1763418{col 28}{space 2} .4407247{col 39}{space 1}   -0.40{col 48}{space 3}0.691{col 56}{space 4}-1.068542{col 69}{space 3} .7158588
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0696287{col 28}{space 2} .0147341{col 39}{space 1}   -4.73{col 48}{space 3}0.000{col 56}{space 4}-.0994563{col 69}{space 3}-.0398011
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .3004692{col 28}{space 2}  .118229{col 39}{space 1}    2.54{col 48}{space 3}0.015{col 56}{space 4}  .061127{col 69}{space 3} .5398113
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} 1.028094{col 28}{space 2} .3783547{col 39}{space 1}    2.72{col 48}{space 3}0.010{col 56}{space 4} .2621549{col 69}{space 3} 1.794033
{txt}{space 3}_Iyear_1971 {c |}{col 16}{res}{space 2} .4766897{col 28}{space 2} .2134181{col 39}{space 1}    2.23{col 48}{space 3}0.031{col 56}{space 4} .0446474{col 69}{space 3} .9087321
{txt}{space 3}_Iyear_1972 {c |}{col 16}{res}{space 2} .6691565{col 28}{space 2} .2497963{col 39}{space 1}    2.68{col 48}{space 3}0.011{col 56}{space 4} .1634703{col 69}{space 3} 1.174843
{txt}{space 3}_Iyear_1973 {c |}{col 16}{res}{space 2} .4005714{col 28}{space 2} .3089354{col 39}{space 1}    1.30{col 48}{space 3}0.203{col 56}{space 4}-.2248355{col 69}{space 3} 1.025978
{txt}{space 3}_Iyear_1974 {c |}{col 16}{res}{space 2} 1.287386{col 28}{space 2}  .349916{col 39}{space 1}    3.68{col 48}{space 3}0.001{col 56}{space 4} .5790179{col 69}{space 3} 1.995754
{txt}{space 3}_Iyear_1975 {c |}{col 16}{res}{space 2} 1.277276{col 28}{space 2} .4061889{col 39}{space 1}    3.14{col 48}{space 3}0.003{col 56}{space 4}   .45499{col 69}{space 3} 2.099563
{txt}{space 3}_Iyear_1976 {c |}{col 16}{res}{space 2} 1.183578{col 28}{space 2} .4574167{col 39}{space 1}    2.59{col 48}{space 3}0.014{col 56}{space 4} .2575866{col 69}{space 3}  2.10957
{txt}{space 3}_Iyear_1977 {c |}{col 16}{res}{space 2} .8325705{col 28}{space 2} .5050806{col 39}{space 1}    1.65{col 48}{space 3}0.108{col 56}{space 4}-.1899117{col 69}{space 3} 1.855053
{txt}{space 3}_Iyear_1978 {c |}{col 16}{res}{space 2}  .877632{col 28}{space 2} .5677807{col 39}{space 1}    1.55{col 48}{space 3}0.130{col 56}{space 4}-.2717799{col 69}{space 3} 2.027044
{txt}{space 3}_Iyear_1979 {c |}{col 16}{res}{space 2} 1.938594{col 28}{space 2} .6291374{col 39}{space 1}    3.08{col 48}{space 3}0.004{col 56}{space 4} .6649716{col 69}{space 3} 3.212216
{txt}{space 3}_Iyear_1980 {c |}{col 16}{res}{space 2} 1.829586{col 28}{space 2} .6261916{col 39}{space 1}    2.92{col 48}{space 3}0.006{col 56}{space 4} .5619278{col 69}{space 3} 3.097245
{txt}{space 3}_Iyear_1981 {c |}{col 16}{res}{space 2} 1.963782{col 28}{space 2} .6885705{col 39}{space 1}    2.85{col 48}{space 3}0.007{col 56}{space 4} .5698434{col 69}{space 3}  3.35772
{txt}{space 3}_Iyear_1982 {c |}{col 16}{res}{space 2} 1.400466{col 28}{space 2} .6541296{col 39}{space 1}    2.14{col 48}{space 3}0.039{col 56}{space 4}   .07625{col 69}{space 3} 2.724682
{txt}{space 3}_Iyear_1983 {c |}{col 16}{res}{space 2} 1.040799{col 28}{space 2} .6851618{col 39}{space 1}    1.52{col 48}{space 3}0.137{col 56}{space 4}-.3462386{col 69}{space 3} 2.427836
{txt}{space 3}_Iyear_1984 {c |}{col 16}{res}{space 2} 1.219346{col 28}{space 2} .7014834{col 39}{space 1}    1.74{col 48}{space 3}0.090{col 56}{space 4}-.2007328{col 69}{space 3} 2.639425
{txt}{space 3}_Iyear_1985 {c |}{col 16}{res}{space 2} 1.691761{col 28}{space 2}  .709023{col 39}{space 1}    2.39{col 48}{space 3}0.022{col 56}{space 4} .2564191{col 69}{space 3} 3.127103
{txt}{space 3}_Iyear_1986 {c |}{col 16}{res}{space 2} 2.322231{col 28}{space 2} .7332155{col 39}{space 1}    3.17{col 48}{space 3}0.003{col 56}{space 4} .8379138{col 69}{space 3} 3.806548
{txt}{space 3}_Iyear_1987 {c |}{col 16}{res}{space 2} 2.255524{col 28}{space 2} .7686511{col 39}{space 1}    2.93{col 48}{space 3}0.006{col 56}{space 4} .6994715{col 69}{space 3} 3.811577
{txt}{space 3}_Iyear_1988 {c |}{col 16}{res}{space 2} 2.251384{col 28}{space 2} .7785144{col 39}{space 1}    2.89{col 48}{space 3}0.006{col 56}{space 4} .6753638{col 69}{space 3} 3.827404
{txt}{space 3}_Iyear_1989 {c |}{col 16}{res}{space 2} 1.773031{col 28}{space 2} .8062099{col 39}{space 1}    2.20{col 48}{space 3}0.034{col 56}{space 4} .1409448{col 69}{space 3} 3.405118
{txt}{space 3}_Iyear_1990 {c |}{col 16}{res}{space 2} 1.894152{col 28}{space 2} .7732673{col 39}{space 1}    2.45{col 48}{space 3}0.019{col 56}{space 4} .3287542{col 69}{space 3}  3.45955
{txt}{space 3}_Iyear_1991 {c |}{col 16}{res}{space 2} 2.493438{col 28}{space 2} .8753295{col 39}{space 1}    2.85{col 48}{space 3}0.007{col 56}{space 4} .7214257{col 69}{space 3}  4.26545
{txt}{space 3}_Iyear_1992 {c |}{col 16}{res}{space 2} 2.649182{col 28}{space 2} .8901274{col 39}{space 1}    2.98{col 48}{space 3}0.005{col 56}{space 4} .8472136{col 69}{space 3} 4.451151
{txt}{space 3}_Iyear_1993 {c |}{col 16}{res}{space 2}    3.119{col 28}{space 2} .9256496{col 39}{space 1}    3.37{col 48}{space 3}0.002{col 56}{space 4}  1.24512{col 69}{space 3} 4.992879
{txt}{space 3}_Iyear_1994 {c |}{col 16}{res}{space 2} 3.274009{col 28}{space 2} .9764651{col 39}{space 1}    3.35{col 48}{space 3}0.002{col 56}{space 4} 1.297259{col 69}{space 3}  5.25076
{txt}{space 3}_Iyear_1995 {c |}{col 16}{res}{space 2}  3.62017{col 28}{space 2} 1.054451{col 39}{space 1}    3.43{col 48}{space 3}0.001{col 56}{space 4} 1.485545{col 69}{space 3} 5.754795
{txt}{space 3}_Iyear_1996 {c |}{col 16}{res}{space 2} 3.972825{col 28}{space 2} 1.090425{col 39}{space 1}    3.64{col 48}{space 3}0.001{col 56}{space 4} 1.765375{col 69}{space 3} 6.180276
{txt}{space 3}_Iyear_1997 {c |}{col 16}{res}{space 2} 3.186466{col 28}{space 2} 1.165712{col 39}{space 1}    2.73{col 48}{space 3}0.009{col 56}{space 4} .8266049{col 69}{space 3} 5.546327
{txt}{space 3}_Iyear_1998 {c |}{col 16}{res}{space 2} 3.306027{col 28}{space 2}   1.1684{col 39}{space 1}    2.83{col 48}{space 3}0.007{col 56}{space 4} .9407254{col 69}{space 3} 5.671328
{txt}{space 3}_Iyear_1999 {c |}{col 16}{res}{space 2}   3.1985{col 28}{space 2} 1.237883{col 39}{space 1}    2.58{col 48}{space 3}0.014{col 56}{space 4} .6925364{col 69}{space 3} 5.704463
{txt}{space 3}_Iyear_2000 {c |}{col 16}{res}{space 2}  3.37789{col 28}{space 2} 1.314789{col 39}{space 1}    2.57{col 48}{space 3}0.014{col 56}{space 4}  .716238{col 69}{space 3} 6.039541
{txt}{space 3}_Iyear_2001 {c |}{col 16}{res}{space 2} 3.593891{col 28}{space 2} 1.312031{col 39}{space 1}    2.74{col 48}{space 3}0.009{col 56}{space 4} .9378233{col 69}{space 3} 6.249958
{txt}{space 3}_Iyear_2002 {c |}{col 16}{res}{space 2}  3.65424{col 28}{space 2} 1.337742{col 39}{space 1}    2.73{col 48}{space 3}0.010{col 56}{space 4} .9461229{col 69}{space 3} 6.362357
{txt}{space 3}_Iyear_2003 {c |}{col 16}{res}{space 2} 4.410139{col 28}{space 2} 1.381888{col 39}{space 1}    3.19{col 48}{space 3}0.003{col 56}{space 4} 1.612653{col 69}{space 3} 7.207625
{txt}{space 3}_Iyear_2004 {c |}{col 16}{res}{space 2} 4.921603{col 28}{space 2} 1.450531{col 39}{space 1}    3.39{col 48}{space 3}0.002{col 56}{space 4} 1.985156{col 69}{space 3}  7.85805
{txt}{space 3}_Iyear_2005 {c |}{col 16}{res}{space 2} 4.557007{col 28}{space 2}  1.47837{col 39}{space 1}    3.08{col 48}{space 3}0.004{col 56}{space 4} 1.564204{col 69}{space 3}  7.54981
{txt}{space 3}_Iyear_2006 {c |}{col 16}{res}{space 2} 5.217185{col 28}{space 2} 1.591047{col 39}{space 1}    3.28{col 48}{space 3}0.002{col 56}{space 4} 1.996279{col 69}{space 3} 8.438092
{txt}{space 3}_Iyear_2007 {c |}{col 16}{res}{space 2}  5.21191{col 28}{space 2} 1.681934{col 39}{space 1}    3.10{col 48}{space 3}0.004{col 56}{space 4} 1.807013{col 69}{space 3} 8.616807
{txt}{space 3}_Iyear_2008 {c |}{col 16}{res}{space 2} 5.333431{col 28}{space 2} 1.650662{col 39}{space 1}    3.23{col 48}{space 3}0.003{col 56}{space 4}  1.99184{col 69}{space 3} 8.675023
{txt}{space 3}_Iyear_2009 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2010 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2011 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2012 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2013 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2014 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2015 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2016 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2017 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2018 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2019 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA4, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA4.rtf"'"':tableA4.rtf}
{browse `"tableA4.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA4.txt", label"':seeout}

{com}. xtscc dv3_2 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 $year, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       895
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 55{txt},{res}    37{txt}){col 68}={res} 131710.73
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5092

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}         dv3_2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .7221767{col 28}{space 2} .3952143{col 39}{space 1}    1.83{col 48}{space 3}0.076{col 56}{space 4}-.0786034{col 69}{space 3} 1.522957
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .1577948{col 28}{space 2} .7115074{col 39}{space 1}    0.22{col 48}{space 3}0.826{col 56}{space 4}-1.283856{col 69}{space 3} 1.599446
{txt}peace3rd_major {c |}{col 16}{res}{space 2} 3.547386{col 28}{space 2}  1.11052{col 39}{space 1}    3.19{col 48}{space 3}0.003{col 56}{space 4} 1.297259{col 69}{space 3} 5.797513
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} -.657246{col 28}{space 2} .5660609{col 39}{space 1}   -1.16{col 48}{space 3}0.253{col 56}{space 4}-1.804194{col 69}{space 3} .4897024
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-1.371601{col 28}{space 2} 1.139601{col 39}{space 1}   -1.20{col 48}{space 3}0.236{col 56}{space 4}-3.680651{col 69}{space 3} .9374501
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.2318372{col 28}{space 2}  .252206{col 39}{space 1}   -0.92{col 48}{space 3}0.364{col 56}{space 4} -.742855{col 69}{space 3} .2791807
{txt}{space 11}low {c |}{col 16}{res}{space 2} .4089165{col 28}{space 2} .2147411{col 39}{space 1}    1.90{col 48}{space 3}0.065{col 56}{space 4}-.0261903{col 69}{space 3} .8440234
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2}-1.697621{col 28}{space 2} 1.193965{col 39}{space 1}   -1.42{col 48}{space 3}0.163{col 56}{space 4}-4.116824{col 69}{space 3} .7215829
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.661126{col 28}{space 2} 1.136583{col 39}{space 1}   -0.58{col 48}{space 3}0.564{col 56}{space 4}-2.964063{col 69}{space 3} 1.641811
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}  .054007{col 28}{space 2} .0175468{col 39}{space 1}    3.08{col 48}{space 3}0.004{col 56}{space 4} .0184539{col 69}{space 3} .0895601
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2}-.0056141{col 28}{space 2} .0176472{col 39}{space 1}   -0.32{col 48}{space 3}0.752{col 56}{space 4}-.0413707{col 69}{space 3} .0301426
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .2246795{col 28}{space 2} .1300339{col 39}{space 1}    1.73{col 48}{space 3}0.092{col 56}{space 4}-.0387943{col 69}{space 3} .4881532
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0234386{col 28}{space 2} .0058899{col 39}{space 1}    3.98{col 48}{space 3}0.000{col 56}{space 4} .0115045{col 69}{space 3} .0353727
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0149745{col 28}{space 2} .0213706{col 39}{space 1}    0.70{col 48}{space 3}0.488{col 56}{space 4}-.0283264{col 69}{space 3} .0582754
{txt}preconflictfdi {c |}{col 16}{res}{space 2}  2.56667{col 28}{space 2} 2.109702{col 39}{space 1}    1.22{col 48}{space 3}0.231{col 56}{space 4}-1.707991{col 69}{space 3} 6.841332
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.3073261{col 28}{space 2} .3712142{col 39}{space 1}   -0.83{col 48}{space 3}0.413{col 56}{space 4}-1.059478{col 69}{space 3} .4448253
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0640243{col 28}{space 2} .0142409{col 39}{space 1}   -4.50{col 48}{space 3}0.000{col 56}{space 4} -.092879{col 69}{space 3}-.0351696
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .2243112{col 28}{space 2} .1005409{col 39}{space 1}    2.23{col 48}{space 3}0.032{col 56}{space 4} .0205961{col 69}{space 3} .4280264
{txt}{space 8}cumint {c |}{col 16}{res}{space 2} 1.055625{col 28}{space 2}  .361003{col 39}{space 1}    2.92{col 48}{space 3}0.006{col 56}{space 4} .3241637{col 69}{space 3} 1.787087
{txt}{space 3}_Iyear_1971 {c |}{col 16}{res}{space 2} .4161422{col 28}{space 2}  .212044{col 39}{space 1}    1.96{col 48}{space 3}0.057{col 56}{space 4}-.0134998{col 69}{space 3} .8457842
{txt}{space 3}_Iyear_1972 {c |}{col 16}{res}{space 2} .7061025{col 28}{space 2} .2394191{col 39}{space 1}    2.95{col 48}{space 3}0.005{col 56}{space 4} .2209932{col 69}{space 3} 1.191212
{txt}{space 3}_Iyear_1973 {c |}{col 16}{res}{space 2} .4628727{col 28}{space 2} .2618653{col 39}{space 1}    1.77{col 48}{space 3}0.085{col 56}{space 4}-.0677168{col 69}{space 3} .9934621
{txt}{space 3}_Iyear_1974 {c |}{col 16}{res}{space 2} 1.125295{col 28}{space 2} .3107037{col 39}{space 1}    3.62{col 48}{space 3}0.001{col 56}{space 4} .4957494{col 69}{space 3}  1.75484
{txt}{space 3}_Iyear_1975 {c |}{col 16}{res}{space 2} 1.172978{col 28}{space 2} .3652263{col 39}{space 1}    3.21{col 48}{space 3}0.003{col 56}{space 4} .4329588{col 69}{space 3} 1.912997
{txt}{space 3}_Iyear_1976 {c |}{col 16}{res}{space 2} .9555158{col 28}{space 2}  .420112{col 39}{space 1}    2.27{col 48}{space 3}0.029{col 56}{space 4} .1042879{col 69}{space 3} 1.806744
{txt}{space 3}_Iyear_1977 {c |}{col 16}{res}{space 2} 1.187964{col 28}{space 2} .4782018{col 39}{space 1}    2.48{col 48}{space 3}0.018{col 56}{space 4} .2190355{col 69}{space 3} 2.156893
{txt}{space 3}_Iyear_1978 {c |}{col 16}{res}{space 2} 1.497894{col 28}{space 2} .5554834{col 39}{space 1}    2.70{col 48}{space 3}0.010{col 56}{space 4} .3723773{col 69}{space 3}  2.62341
{txt}{space 3}_Iyear_1979 {c |}{col 16}{res}{space 2} 2.133318{col 28}{space 2} .6294381{col 39}{space 1}    3.39{col 48}{space 3}0.002{col 56}{space 4} .8579555{col 69}{space 3} 3.408681
{txt}{space 3}_Iyear_1980 {c |}{col 16}{res}{space 2}  2.10243{col 28}{space 2} .6186414{col 39}{space 1}    3.40{col 48}{space 3}0.002{col 56}{space 4} .8489436{col 69}{space 3} 3.355916
{txt}{space 3}_Iyear_1981 {c |}{col 16}{res}{space 2} 2.203701{col 28}{space 2} .6703629{col 39}{space 1}    3.29{col 48}{space 3}0.002{col 56}{space 4} .8454173{col 69}{space 3} 3.561986
{txt}{space 3}_Iyear_1982 {c |}{col 16}{res}{space 2} 1.508431{col 28}{space 2} .6671484{col 39}{space 1}    2.26{col 48}{space 3}0.030{col 56}{space 4} .1566597{col 69}{space 3} 2.860202
{txt}{space 3}_Iyear_1983 {c |}{col 16}{res}{space 2} 1.298215{col 28}{space 2} .6886666{col 39}{space 1}    1.89{col 48}{space 3}0.067{col 56}{space 4}-.0971559{col 69}{space 3} 2.693586
{txt}{space 3}_Iyear_1984 {c |}{col 16}{res}{space 2}  1.72286{col 28}{space 2}  .701816{col 39}{space 1}    2.45{col 48}{space 3}0.019{col 56}{space 4} .3008461{col 69}{space 3} 3.144875
{txt}{space 3}_Iyear_1985 {c |}{col 16}{res}{space 2} 2.100002{col 28}{space 2} .6963121{col 39}{space 1}    3.02{col 48}{space 3}0.005{col 56}{space 4} .6891399{col 69}{space 3} 3.510865
{txt}{space 3}_Iyear_1986 {c |}{col 16}{res}{space 2} 2.681753{col 28}{space 2}  .733936{col 39}{space 1}    3.65{col 48}{space 3}0.001{col 56}{space 4} 1.194658{col 69}{space 3} 4.168849
{txt}{space 3}_Iyear_1987 {c |}{col 16}{res}{space 2} 2.696516{col 28}{space 2}  .766627{col 39}{space 1}    3.52{col 48}{space 3}0.001{col 56}{space 4} 1.143183{col 69}{space 3}  4.24985
{txt}{space 3}_Iyear_1988 {c |}{col 16}{res}{space 2}  2.55628{col 28}{space 2} .7635627{col 39}{space 1}    3.35{col 48}{space 3}0.002{col 56}{space 4} 1.009155{col 69}{space 3} 4.103405
{txt}{space 3}_Iyear_1989 {c |}{col 16}{res}{space 2} 2.381389{col 28}{space 2} .7874538{col 39}{space 1}    3.02{col 48}{space 3}0.005{col 56}{space 4} .7858555{col 69}{space 3} 3.976922
{txt}{space 3}_Iyear_1990 {c |}{col 16}{res}{space 2} 2.648562{col 28}{space 2} .7603179{col 39}{space 1}    3.48{col 48}{space 3}0.001{col 56}{space 4} 1.108011{col 69}{space 3} 4.189112
{txt}{space 3}_Iyear_1991 {c |}{col 16}{res}{space 2} 3.225195{col 28}{space 2} .8305399{col 39}{space 1}    3.88{col 48}{space 3}0.000{col 56}{space 4} 1.542362{col 69}{space 3} 4.908029
{txt}{space 3}_Iyear_1992 {c |}{col 16}{res}{space 2} 3.430834{col 28}{space 2} .8576978{col 39}{space 1}    4.00{col 48}{space 3}0.000{col 56}{space 4} 1.692974{col 69}{space 3} 5.168695
{txt}{space 3}_Iyear_1993 {c |}{col 16}{res}{space 2} 3.791193{col 28}{space 2} .8950504{col 39}{space 1}    4.24{col 48}{space 3}0.000{col 56}{space 4} 1.977649{col 69}{space 3} 5.604738
{txt}{space 3}_Iyear_1994 {c |}{col 16}{res}{space 2} 4.167633{col 28}{space 2} .9403659{col 39}{space 1}    4.43{col 48}{space 3}0.000{col 56}{space 4} 2.262271{col 69}{space 3} 6.072995
{txt}{space 3}_Iyear_1995 {c |}{col 16}{res}{space 2} 4.445632{col 28}{space 2} 1.004404{col 39}{space 1}    4.43{col 48}{space 3}0.000{col 56}{space 4} 2.410517{col 69}{space 3} 6.480747
{txt}{space 3}_Iyear_1996 {c |}{col 16}{res}{space 2} 4.602221{col 28}{space 2} 1.039588{col 39}{space 1}    4.43{col 48}{space 3}0.000{col 56}{space 4} 2.495814{col 69}{space 3} 6.708627
{txt}{space 3}_Iyear_1997 {c |}{col 16}{res}{space 2} 4.067978{col 28}{space 2} 1.101135{col 39}{space 1}    3.69{col 48}{space 3}0.001{col 56}{space 4} 1.836867{col 69}{space 3} 6.299089
{txt}{space 3}_Iyear_1998 {c |}{col 16}{res}{space 2} 4.320363{col 28}{space 2} 1.105657{col 39}{space 1}    3.91{col 48}{space 3}0.000{col 56}{space 4}  2.08009{col 69}{space 3} 6.560636
{txt}{space 3}_Iyear_1999 {c |}{col 16}{res}{space 2} 4.232497{col 28}{space 2} 1.167468{col 39}{space 1}    3.63{col 48}{space 3}0.001{col 56}{space 4} 1.866982{col 69}{space 3} 6.598011
{txt}{space 3}_Iyear_2000 {c |}{col 16}{res}{space 2} 4.207042{col 28}{space 2} 1.222109{col 39}{space 1}    3.44{col 48}{space 3}0.001{col 56}{space 4} 1.730814{col 69}{space 3} 6.683269
{txt}{space 3}_Iyear_2001 {c |}{col 16}{res}{space 2} 4.639248{col 28}{space 2} 1.213177{col 39}{space 1}    3.82{col 48}{space 3}0.000{col 56}{space 4} 2.181117{col 69}{space 3} 7.097378
{txt}{space 3}_Iyear_2002 {c |}{col 16}{res}{space 2} 4.841999{col 28}{space 2} 1.232137{col 39}{space 1}    3.93{col 48}{space 3}0.000{col 56}{space 4} 2.345452{col 69}{space 3} 7.338545
{txt}{space 3}_Iyear_2003 {c |}{col 16}{res}{space 2} 5.497075{col 28}{space 2} 1.277618{col 39}{space 1}    4.30{col 48}{space 3}0.000{col 56}{space 4} 2.908376{col 69}{space 3} 8.085774
{txt}{space 3}_Iyear_2004 {c |}{col 16}{res}{space 2} 5.991831{col 28}{space 2} 1.336689{col 39}{space 1}    4.48{col 48}{space 3}0.000{col 56}{space 4} 3.283442{col 69}{space 3}  8.70022
{txt}{space 3}_Iyear_2005 {c |}{col 16}{res}{space 2} 5.792728{col 28}{space 2} 1.332187{col 39}{space 1}    4.35{col 48}{space 3}0.000{col 56}{space 4} 3.093461{col 69}{space 3} 8.491995
{txt}{space 3}_Iyear_2006 {c |}{col 16}{res}{space 2} 6.161149{col 28}{space 2} 1.447703{col 39}{space 1}    4.26{col 48}{space 3}0.000{col 56}{space 4} 3.227824{col 69}{space 3} 9.094473
{txt}{space 3}_Iyear_2007 {c |}{col 16}{res}{space 2} 6.211102{col 28}{space 2} 1.561174{col 39}{space 1}    3.98{col 48}{space 3}0.000{col 56}{space 4} 3.047863{col 69}{space 3}  9.37434
{txt}{space 3}_Iyear_2008 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2009 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2010 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2011 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2012 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2013 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2014 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2015 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2016 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2017 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2018 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}_Iyear_2019 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA4, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA4.rtf"'"':tableA4.rtf}
{browse `"tableA4.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA4.txt", label"':seeout}

{com}. 
. 
. 
. *** Table A5 ***        
. *** Table A5 ***        
. *** Table A5 ***        
. 
. use kreutzpr, clear
{txt}
{com}. 
. global c3 = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify polity2 lnbanks"
{txt}
{com}. 
. xtscc lnfdiUNt0 xb $c3, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}      1030
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        72
{txt}Group variable (i): {res}ccode{col 50}{txt}F({res} 10{txt},{res}    31{txt}){col 68}={res}    265.62
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4851

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}  Drisc/Kraay
{col 1}    lnfdiUNt0{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      t{col 47}   P>|t|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}xb {c |}{col 15}{res}{space 2}-.0042356{col 27}{space 2} .0024771{col 38}{space 1}   -1.71{col 47}{space 3}0.097{col 55}{space 4}-.0092876{col 68}{space 3} .0008165
{txt}{space 3}lngdppcPWT {c |}{col 15}{res}{space 2} .0206143{col 27}{space 2} .0255178{col 38}{space 1}    0.81{col 47}{space 3}0.425{col 55}{space 4}-.0314295{col 68}{space 3} .0726582
{txt}{space 5}lnpopPWT {c |}{col 15}{res}{space 2}-.0564871{col 27}{space 2} .0166073{col 38}{space 1}   -3.40{col 47}{space 3}0.002{col 55}{space 4}-.0903579{col 68}{space 3}-.0226163
{txt}{space 4}growthPWT {c |}{col 15}{res}{space 2} .0003411{col 27}{space 2} .0002681{col 38}{space 1}    1.27{col 47}{space 3}0.213{col 55}{space 4}-.0002057{col 68}{space 3}  .000888
{txt}{space 5}tradePWT {c |}{col 15}{res}{space 2}-.0003819{col 27}{space 2}  .000092{col 38}{space 1}   -4.15{col 47}{space 3}0.000{col 55}{space 4}-.0005695{col 68}{space 3}-.0001943
{txt}{space 7}kaopen {c |}{col 15}{res}{space 2} .0049073{col 27}{space 2} .0040805{col 38}{space 1}    1.20{col 47}{space 3}0.238{col 55}{space 4} -.003415{col 68}{space 3} .0132296
{txt}{space 5}resource {c |}{col 15}{res}{space 2} .0003554{col 27}{space 2} .0002327{col 38}{space 1}    1.53{col 47}{space 3}0.137{col 55}{space 4}-.0001193{col 68}{space 3} .0008301
{txt}cumbit_ratify {c |}{col 15}{res}{space 2} .0075468{col 27}{space 2}  .000608{col 38}{space 1}   12.41{col 47}{space 3}0.000{col 55}{space 4} .0063067{col 68}{space 3} .0087869
{txt}{space 6}polity2 {c |}{col 15}{res}{space 2}-.0013155{col 27}{space 2} .0006819{col 38}{space 1}   -1.93{col 47}{space 3}0.063{col 55}{space 4}-.0027062{col 68}{space 3} .0000753
{txt}{space 6}lnbanks {c |}{col 15}{res}{space 2}-.0003785{col 27}{space 2} .0003105{col 38}{space 1}   -1.22{col 47}{space 3}0.232{col 55}{space 4}-.0010117{col 68}{space 3} .0002547
{txt}{space 8}_cons {c |}{col 15}{res}{space 2} 10.73643{col 27}{space 2} .3001238{col 38}{space 1}   35.77{col 47}{space 3}0.000{col 55}{space 4} 10.12433{col 68}{space 3} 11.34854
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA5, replace word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"tableA5.rtf"'"':tableA5.rtf}
{browse `"tableA5.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA5.txt", label"':seeout}

{com}. xtscc lnfdiUN_lead1 xb $c3, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}      1029
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        72
{txt}Group variable (i): {res}ccode{col 50}{txt}F({res} 10{txt},{res}    31{txt}){col 68}={res}    168.41
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4522

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}  Drisc/Kraay
{col 1}lnfdiUN_lead1{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      t{col 47}   P>|t|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}xb {c |}{col 15}{res}{space 2}-.0073418{col 27}{space 2} .0023145{col 38}{space 1}   -3.17{col 47}{space 3}0.003{col 55}{space 4}-.0120623{col 68}{space 3}-.0026213
{txt}{space 3}lngdppcPWT {c |}{col 15}{res}{space 2} .0208318{col 27}{space 2} .0261115{col 38}{space 1}    0.80{col 47}{space 3}0.431{col 55}{space 4} -.032423{col 68}{space 3} .0740866
{txt}{space 5}lnpopPWT {c |}{col 15}{res}{space 2}-.0540142{col 27}{space 2} .0160611{col 38}{space 1}   -3.36{col 47}{space 3}0.002{col 55}{space 4} -.086771{col 68}{space 3}-.0212574
{txt}{space 4}growthPWT {c |}{col 15}{res}{space 2} .0007839{col 27}{space 2} .0004014{col 38}{space 1}    1.95{col 47}{space 3}0.060{col 55}{space 4}-.0000349{col 68}{space 3} .0016026
{txt}{space 5}tradePWT {c |}{col 15}{res}{space 2}-.0004145{col 27}{space 2} .0001015{col 38}{space 1}   -4.08{col 47}{space 3}0.000{col 55}{space 4}-.0006214{col 68}{space 3}-.0002075
{txt}{space 7}kaopen {c |}{col 15}{res}{space 2} .0064866{col 27}{space 2} .0043156{col 38}{space 1}    1.50{col 47}{space 3}0.143{col 55}{space 4} -.002315{col 68}{space 3} .0152883
{txt}{space 5}resource {c |}{col 15}{res}{space 2} .0001909{col 27}{space 2} .0002593{col 38}{space 1}    0.74{col 47}{space 3}0.467{col 55}{space 4} -.000338{col 68}{space 3} .0007197
{txt}cumbit_ratify {c |}{col 15}{res}{space 2} .0073343{col 27}{space 2} .0009018{col 38}{space 1}    8.13{col 47}{space 3}0.000{col 55}{space 4}  .005495{col 68}{space 3} .0091736
{txt}{space 6}polity2 {c |}{col 15}{res}{space 2}-.0013619{col 27}{space 2} .0007058{col 38}{space 1}   -1.93{col 47}{space 3}0.063{col 55}{space 4}-.0028013{col 68}{space 3} .0000776
{txt}{space 6}lnbanks {c |}{col 15}{res}{space 2}-.0008944{col 27}{space 2} .0005087{col 38}{space 1}   -1.76{col 47}{space 3}0.089{col 55}{space 4}-.0019319{col 68}{space 3} .0001431
{txt}{space 8}_cons {c |}{col 15}{res}{space 2} 10.71322{col 27}{space 2} .2934121{col 38}{space 1}   36.51{col 47}{space 3}0.000{col 55}{space 4} 10.11481{col 68}{space 3} 11.31164
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA5, word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"tableA5.rtf"'"':tableA5.rtf}
{browse `"tableA5.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA5.txt", label"':seeout}

{com}. xtscc lnfdiUN_lead2 xb $c3, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}      1031
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        72
{txt}Group variable (i): {res}ccode{col 50}{txt}F({res} 10{txt},{res}    31{txt}){col 68}={res}    104.74
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4084

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}  Drisc/Kraay
{col 1}lnfdiUN_lead2{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      t{col 47}   P>|t|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}xb {c |}{col 15}{res}{space 2}-.0102756{col 27}{space 2} .0028943{col 38}{space 1}   -3.55{col 47}{space 3}0.001{col 55}{space 4}-.0161787{col 68}{space 3}-.0043726
{txt}{space 3}lngdppcPWT {c |}{col 15}{res}{space 2} .0197876{col 27}{space 2}  .024844{col 38}{space 1}    0.80{col 47}{space 3}0.432{col 55}{space 4}-.0308821{col 68}{space 3} .0704573
{txt}{space 5}lnpopPWT {c |}{col 15}{res}{space 2}-.0482465{col 27}{space 2} .0168522{col 38}{space 1}   -2.86{col 47}{space 3}0.007{col 55}{space 4}-.0826168{col 68}{space 3}-.0138762
{txt}{space 4}growthPWT {c |}{col 15}{res}{space 2} .0010515{col 27}{space 2} .0005184{col 38}{space 1}    2.03{col 47}{space 3}0.051{col 55}{space 4}-5.73e-06{col 68}{space 3} .0021087
{txt}{space 5}tradePWT {c |}{col 15}{res}{space 2}-.0004726{col 27}{space 2} .0001246{col 38}{space 1}   -3.79{col 47}{space 3}0.001{col 55}{space 4}-.0007268{col 68}{space 3}-.0002184
{txt}{space 7}kaopen {c |}{col 15}{res}{space 2} .0084152{col 27}{space 2} .0045524{col 38}{space 1}    1.85{col 47}{space 3}0.074{col 55}{space 4}-.0008695{col 68}{space 3}    .0177
{txt}{space 5}resource {c |}{col 15}{res}{space 2} .0001177{col 27}{space 2} .0003067{col 38}{space 1}    0.38{col 47}{space 3}0.704{col 55}{space 4}-.0005078{col 68}{space 3} .0007433
{txt}cumbit_ratify {c |}{col 15}{res}{space 2} .0068614{col 27}{space 2} .0012575{col 38}{space 1}    5.46{col 47}{space 3}0.000{col 55}{space 4} .0042967{col 68}{space 3} .0094261
{txt}{space 6}polity2 {c |}{col 15}{res}{space 2}-.0011196{col 27}{space 2} .0006444{col 38}{space 1}   -1.74{col 47}{space 3}0.092{col 55}{space 4}-.0024338{col 68}{space 3} .0001946
{txt}{space 6}lnbanks {c |}{col 15}{res}{space 2}-.0009894{col 27}{space 2}   .00055{col 38}{space 1}   -1.80{col 47}{space 3}0.082{col 55}{space 4}-.0021112{col 68}{space 3} .0001324
{txt}{space 8}_cons {c |}{col 15}{res}{space 2} 10.66762{col 27}{space 2} .2790951{col 38}{space 1}   38.22{col 47}{space 3}0.000{col 55}{space 4}  10.0984{col 68}{space 3} 11.23683
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA5, word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"tableA5.rtf"'"':tableA5.rtf}
{browse `"tableA5.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA5.txt", label"':seeout}

{com}. xtscc lnfdiUN_lead3 xb $c3, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}      1030
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        72
{txt}Group variable (i): {res}ccode{col 50}{txt}F({res} 10{txt},{res}    31{txt}){col 68}={res}    122.77
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3728

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}  Drisc/Kraay
{col 1}lnfdiUN_lead3{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      t{col 47}   P>|t|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}xb {c |}{col 15}{res}{space 2}-.0139488{col 27}{space 2} .0032146{col 38}{space 1}   -4.34{col 47}{space 3}0.000{col 55}{space 4}-.0205051{col 68}{space 3}-.0073925
{txt}{space 3}lngdppcPWT {c |}{col 15}{res}{space 2} .0253352{col 27}{space 2} .0247674{col 38}{space 1}    1.02{col 47}{space 3}0.314{col 55}{space 4}-.0251783{col 68}{space 3} .0758487
{txt}{space 5}lnpopPWT {c |}{col 15}{res}{space 2}-.0450563{col 27}{space 2} .0169084{col 38}{space 1}   -2.66{col 47}{space 3}0.012{col 55}{space 4}-.0795412{col 68}{space 3}-.0105714
{txt}{space 4}growthPWT {c |}{col 15}{res}{space 2} .0009026{col 27}{space 2} .0005961{col 38}{space 1}    1.51{col 47}{space 3}0.140{col 55}{space 4}-.0003131{col 68}{space 3} .0021183
{txt}{space 5}tradePWT {c |}{col 15}{res}{space 2}-.0004646{col 27}{space 2} .0001305{col 38}{space 1}   -3.56{col 47}{space 3}0.001{col 55}{space 4}-.0007307{col 68}{space 3}-.0001985
{txt}{space 7}kaopen {c |}{col 15}{res}{space 2} .0069843{col 27}{space 2} .0043021{col 38}{space 1}    1.62{col 47}{space 3}0.115{col 55}{space 4}-.0017899{col 68}{space 3} .0157585
{txt}{space 5}resource {c |}{col 15}{res}{space 2} .0000983{col 27}{space 2} .0003083{col 38}{space 1}    0.32{col 47}{space 3}0.752{col 55}{space 4}-.0005305{col 68}{space 3} .0007271
{txt}cumbit_ratify {c |}{col 15}{res}{space 2} .0063335{col 27}{space 2} .0013145{col 38}{space 1}    4.82{col 47}{space 3}0.000{col 55}{space 4} .0036525{col 68}{space 3} .0090145
{txt}{space 6}polity2 {c |}{col 15}{res}{space 2}-.0007682{col 27}{space 2} .0005538{col 38}{space 1}   -1.39{col 47}{space 3}0.175{col 55}{space 4}-.0018977{col 68}{space 3} .0003612
{txt}{space 6}lnbanks {c |}{col 15}{res}{space 2}-.0004056{col 27}{space 2} .0005014{col 38}{space 1}   -0.81{col 47}{space 3}0.425{col 55}{space 4}-.0014283{col 68}{space 3} .0006171
{txt}{space 8}_cons {c |}{col 15}{res}{space 2} 10.58454{col 27}{space 2} .2623603{col 38}{space 1}   40.34{col 47}{space 3}0.000{col 55}{space 4} 10.04945{col 68}{space 3} 11.11963
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA5, word excel addstat(R-squared, `e(r2_w)') label dec(3) 
{txt}{stata `"shellout using `"tableA5.rtf"'"':tableA5.rtf}
{browse `"tableA5.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA5.txt", label"':seeout}

{com}. 
. 
. 
. *** Table A6 ***        
. *** Table A6 ***        
. *** Table A6 ***        
. 
. use fdifinal_regression, clear
{txt}
{com}. 
. global c_ondd = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify polity2 lnbanks lnduration intensity"
{txt}
{com}.  
. xtscc war_ONDD victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c_ondd, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       250
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        47
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 16{txt},{res}     9{txt}){col 68}={res}  9.88e+07
{txt}maximum lag: {res}2{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2068

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}   war_ONDD_t1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2}-1.106465{col 28}{space 2} .2625106{col 39}{space 1}   -4.21{col 48}{space 3}0.002{col 56}{space 4}-1.700305{col 69}{space 3} -.512625
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
peace3rd_major {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 3}peace3rd_io {c |}{col 16}{res}{space 2}-.7212504{col 28}{space 2} .2507473{col 39}{space 1}   -2.88{col 48}{space 3}0.018{col 56}{space 4} -1.28848{col 69}{space 3}-.1540206
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2} .6070329{col 28}{space 2} .2780385{col 39}{space 1}    2.18{col 48}{space 3}0.057{col 56}{space 4}-.0219339{col 69}{space 3}    1.236
{txt}{space 9}cease {c |}{col 16}{res}{space 2}  .418793{col 28}{space 2} .1303431{col 39}{space 1}    3.21{col 48}{space 3}0.011{col 56}{space 4} .1239365{col 69}{space 3} .7136494
{txt}{space 11}low {c |}{col 16}{res}{space 2}-.0004813{col 28}{space 2} .1239084{col 39}{space 1}   -0.00{col 48}{space 3}0.997{col 56}{space 4}-.2807816{col 69}{space 3}  .279819
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} 1.027313{col 28}{space 2}  .780071{col 39}{space 1}    1.32{col 48}{space 3}0.220{col 56}{space 4}-.7373306{col 69}{space 3} 2.791956
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} .0796032{col 28}{space 2} 1.120164{col 39}{space 1}    0.07{col 48}{space 3}0.945{col 56}{space 4}-2.454384{col 69}{space 3}  2.61359
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2}-.0274528{col 28}{space 2} .0113202{col 39}{space 1}   -2.43{col 48}{space 3}0.038{col 56}{space 4}-.0530608{col 69}{space 3}-.0018447
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2}-.0102145{col 28}{space 2} .0080723{col 39}{space 1}   -1.27{col 48}{space 3}0.238{col 56}{space 4}-.0284754{col 69}{space 3} .0080464
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.2210314{col 28}{space 2} .0655815{col 39}{space 1}   -3.37{col 48}{space 3}0.008{col 56}{space 4} -.369387{col 69}{space 3}-.0726759
{txt}{space 6}resource {c |}{col 16}{res}{space 2}-.0132114{col 28}{space 2} .0116829{col 39}{space 1}   -1.13{col 48}{space 3}0.287{col 56}{space 4}-.0396398{col 69}{space 3} .0132171
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2}-.0344928{col 28}{space 2} .0303871{col 39}{space 1}   -1.14{col 48}{space 3}0.286{col 56}{space 4}-.1032332{col 69}{space 3} .0342477
{txt}{space 7}polity2 {c |}{col 16}{res}{space 2}-.0319885{col 28}{space 2} .0281725{col 39}{space 1}   -1.14{col 48}{space 3}0.286{col 56}{space 4}-.0957191{col 69}{space 3} .0317421
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}  .018427{col 28}{space 2} .0154932{col 39}{space 1}    1.19{col 48}{space 3}0.265{col 56}{space 4}-.0166211{col 69}{space 3}  .053475
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .1882307{col 28}{space 2} .0482832{col 39}{space 1}    3.90{col 48}{space 3}0.004{col 56}{space 4} .0790066{col 69}{space 3} .2974548
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.1592913{col 28}{space 2} .1245332{col 39}{space 1}   -1.28{col 48}{space 3}0.233{col 56}{space 4}-.4410049{col 69}{space 3} .1224223
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}-3.821465{col 28}{space 2} 8.811615{col 39}{space 1}   -0.43{col 48}{space 3}0.675{col 56}{space 4}-23.75472{col 69}{space 3} 16.11179
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA6, word excel replace addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA6.rtf"'"':tableA6.rtf}
{browse `"tableA6.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA6.txt", label"':seeout}

{com}. 
. 
. 
. 
. *** Table A7 ***        
. *** Table A7 ***        
. *** Table A7 ***        
. 
. use fdifinal_regression, clear
{txt}
{com}. global c1 = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify politydem lnbanks lnduration intensity"
{txt}
{com}. 
. xtscc dv1 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 fullpeace lnfdiUNt0, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       960
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       107
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 20{txt},{res}    39{txt}){col 68}={res}     67.36
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.3656

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1359031{col 28}{space 2} .1004395{col 39}{space 1}    1.35{col 48}{space 3}0.184{col 56}{space 4}-.0672551{col 69}{space 3} .3390613
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0576711{col 28}{space 2} .0622118{col 39}{space 1}    0.93{col 48}{space 3}0.360{col 56}{space 4}-.0681643{col 69}{space 3} .1835064
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .2787979{col 28}{space 2}  .145422{col 39}{space 1}    1.92{col 48}{space 3}0.063{col 56}{space 4}-.0153458{col 69}{space 3} .5729417
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .1634638{col 28}{space 2} .1962278{col 39}{space 1}    0.83{col 48}{space 3}0.410{col 56}{space 4}-.2334444{col 69}{space 3}  .560372
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.4489401{col 28}{space 2} .5107663{col 39}{space 1}   -0.88{col 48}{space 3}0.385{col 56}{space 4}-1.482063{col 69}{space 3} .5841824
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0354164{col 28}{space 2}  .016723{col 39}{space 1}   -2.12{col 48}{space 3}0.041{col 56}{space 4}-.0692418{col 69}{space 3} -.001591
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0281758{col 28}{space 2} .0348706{col 39}{space 1}    0.81{col 48}{space 3}0.424{col 56}{space 4}-.0423566{col 69}{space 3} .0987082
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .2619719{col 28}{space 2} .1598309{col 39}{space 1}    1.64{col 48}{space 3}0.109{col 56}{space 4}-.0613166{col 69}{space 3} .5852605
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.2245354{col 28}{space 2} .1982793{col 39}{space 1}   -1.13{col 48}{space 3}0.264{col 56}{space 4}-.6255932{col 69}{space 3} .1765224
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0069536{col 28}{space 2} .0038689{col 39}{space 1}    1.80{col 48}{space 3}0.080{col 56}{space 4}-.0008719{col 69}{space 3} .0147791
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0055725{col 28}{space 2} .0036985{col 39}{space 1}    1.51{col 48}{space 3}0.140{col 56}{space 4}-.0019085{col 69}{space 3} .0130534
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0091816{col 28}{space 2} .0149358{col 39}{space 1}   -0.61{col 48}{space 3}0.542{col 56}{space 4}-.0393921{col 69}{space 3} .0210289
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0049805{col 28}{space 2} .0020568{col 39}{space 1}    2.42{col 48}{space 3}0.020{col 56}{space 4} .0008202{col 69}{space 3} .0091409
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0108712{col 28}{space 2} .0021652{col 39}{space 1}    5.02{col 48}{space 3}0.000{col 56}{space 4} .0064918{col 69}{space 3} .0152507
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0020723{col 28}{space 2} .0636202{col 39}{space 1}    0.03{col 48}{space 3}0.974{col 56}{space 4}-.1266118{col 69}{space 3} .1307563
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0104761{col 28}{space 2} .0050966{col 39}{space 1}   -2.06{col 48}{space 3}0.047{col 56}{space 4}-.0207849{col 69}{space 3}-.0001673
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0626253{col 28}{space 2} .0384543{col 39}{space 1}    1.63{col 48}{space 3}0.111{col 56}{space 4}-.0151559{col 69}{space 3} .1404065
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0148947{col 28}{space 2} .0151884{col 39}{space 1}   -0.98{col 48}{space 3}0.333{col 56}{space 4}-.0456162{col 69}{space 3} .0158267
{txt}{space 5}fullpeace {c |}{col 16}{res}{space 2}-.0271178{col 28}{space 2} .0265383{col 39}{space 1}   -1.02{col 48}{space 3}0.313{col 56}{space 4}-.0807967{col 69}{space 3}  .026561
{txt}{space 5}lnfdiUNt0 {c |}{col 16}{res}{space 2}  .263788{col 28}{space 2} .1559581{col 39}{space 1}    1.69{col 48}{space 3}0.099{col 56}{space 4} -.051667{col 69}{space 3} .5792429
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 6.154979{col 28}{space 2} 2.284507{col 39}{space 1}    2.69{col 48}{space 3}0.010{col 56}{space 4} 1.534128{col 69}{space 3} 10.77583
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA7, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA7.rtf"'"':tableA7.rtf}
{browse `"tableA7.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA7.txt", label"':seeout}

{com}. xtscc dv2 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 fullpeace lnfdiUNt0, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       924
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       106
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 20{txt},{res}    38{txt}){col 68}={res}     99.14
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4600

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1475602{col 28}{space 2} .0808368{col 39}{space 1}    1.83{col 48}{space 3}0.076{col 56}{space 4}-.0160854{col 69}{space 3} .3112058
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0986805{col 28}{space 2} .0987504{col 39}{space 1}    1.00{col 48}{space 3}0.324{col 56}{space 4}-.1012292{col 69}{space 3} .2985902
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .3588451{col 28}{space 2} .1738726{col 39}{space 1}    2.06{col 48}{space 3}0.046{col 56}{space 4} .0068585{col 69}{space 3} .7108317
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0646908{col 28}{space 2} .1142002{col 39}{space 1}    0.57{col 48}{space 3}0.574{col 56}{space 4}-.1664955{col 69}{space 3} .2958772
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.1193088{col 28}{space 2} .2585634{col 39}{space 1}   -0.46{col 48}{space 3}0.647{col 56}{space 4}-.6427429{col 69}{space 3} .4041254
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0511388{col 28}{space 2} .0246203{col 39}{space 1}   -2.08{col 48}{space 3}0.045{col 56}{space 4}-.1009801{col 69}{space 3}-.0012975
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0799949{col 28}{space 2}  .038158{col 39}{space 1}    2.10{col 48}{space 3}0.043{col 56}{space 4} .0027481{col 69}{space 3} .1572418
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .1766662{col 28}{space 2} .1640878{col 39}{space 1}    1.08{col 48}{space 3}0.288{col 56}{space 4}-.1555121{col 69}{space 3} .5088446
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2} -.166318{col 28}{space 2} .1610762{col 39}{space 1}   -1.03{col 48}{space 3}0.308{col 56}{space 4}-.4923997{col 69}{space 3} .1597638
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0116855{col 28}{space 2} .0058334{col 39}{space 1}    2.00{col 48}{space 3}0.052{col 56}{space 4}-.0001236{col 69}{space 3} .0234947
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0033868{col 28}{space 2} .0023581{col 39}{space 1}    1.44{col 48}{space 3}0.159{col 56}{space 4}-.0013868{col 69}{space 3} .0081604
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0006683{col 28}{space 2} .0132707{col 39}{space 1}   -0.05{col 48}{space 3}0.960{col 56}{space 4}-.0275334{col 69}{space 3} .0261969
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0065331{col 28}{space 2} .0026945{col 39}{space 1}    2.42{col 48}{space 3}0.020{col 56}{space 4} .0010785{col 69}{space 3} .0119878
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0145028{col 28}{space 2} .0023733{col 39}{space 1}    6.11{col 48}{space 3}0.000{col 56}{space 4} .0096984{col 69}{space 3} .0193073
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0033401{col 28}{space 2} .0514682{col 39}{space 1}   -0.06{col 48}{space 3}0.949{col 56}{space 4}-.1075319{col 69}{space 3} .1008518
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0064265{col 28}{space 2}  .003265{col 39}{space 1}   -1.97{col 48}{space 3}0.056{col 56}{space 4}-.0130362{col 69}{space 3} .0001832
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0633383{col 28}{space 2}  .031685{col 39}{space 1}    2.00{col 48}{space 3}0.053{col 56}{space 4}-.0008045{col 69}{space 3} .1274812
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0037157{col 28}{space 2} .0182817{col 39}{space 1}   -0.20{col 48}{space 3}0.840{col 56}{space 4}-.0407252{col 69}{space 3} .0332937
{txt}{space 5}fullpeace {c |}{col 16}{res}{space 2}-.0341071{col 28}{space 2} .0431506{col 39}{space 1}   -0.79{col 48}{space 3}0.434{col 56}{space 4}-.1214609{col 69}{space 3} .0532466
{txt}{space 5}lnfdiUNt0 {c |}{col 16}{res}{space 2} .2006101{col 28}{space 2}  .123804{col 39}{space 1}    1.62{col 48}{space 3}0.113{col 56}{space 4}-.0500179{col 69}{space 3} .4512381
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 6.738308{col 28}{space 2} 2.174346{col 39}{space 1}    3.10{col 48}{space 3}0.004{col 56}{space 4} 2.336574{col 69}{space 3} 11.14004
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA7, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA7.rtf"'"':tableA7.rtf}
{browse `"tableA7.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA7.txt", label"':seeout}

{com}. xtscc dv3 victgovt victrebel peace3rd_major peace3rd_io peaceno3rd cease low $c1 fullpeace lnfdiUNt0, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       893
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}       104
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 20{txt},{res}    37{txt}){col 68}={res}    121.56
{txt}maximum lag: {res}3{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5018

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .1445973{col 28}{space 2} .0699556{col 39}{space 1}    2.07{col 48}{space 3}0.046{col 56}{space 4} .0028537{col 69}{space 3} .2863409
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0628748{col 28}{space 2} .0786459{col 39}{space 1}    0.80{col 48}{space 3}0.429{col 56}{space 4}-.0964769{col 69}{space 3} .2222264
{txt}peace3rd_major {c |}{col 16}{res}{space 2} .4045706{col 28}{space 2}  .182964{col 39}{space 1}    2.21{col 48}{space 3}0.033{col 56}{space 4} .0338504{col 69}{space 3} .7752908
{txt}{space 3}peace3rd_io {c |}{col 16}{res}{space 2} .0446895{col 28}{space 2} .0760561{col 39}{space 1}    0.59{col 48}{space 3}0.560{col 56}{space 4}-.1094149{col 69}{space 3} .1987938
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2} .0326669{col 28}{space 2} .2341595{col 39}{space 1}    0.14{col 48}{space 3}0.890{col 56}{space 4}-.4417854{col 69}{space 3} .5071192
{txt}{space 9}cease {c |}{col 16}{res}{space 2} -.056106{col 28}{space 2} .0267182{col 39}{space 1}   -2.10{col 48}{space 3}0.043{col 56}{space 4}-.1102423{col 69}{space 3}-.0019697
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1001994{col 28}{space 2} .0470568{col 39}{space 1}    2.13{col 48}{space 3}0.040{col 56}{space 4} .0048533{col 69}{space 3} .1955455
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .1806934{col 28}{space 2}  .211659{col 39}{space 1}    0.85{col 48}{space 3}0.399{col 56}{space 4}-.2481686{col 69}{space 3} .6095553
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.1651375{col 28}{space 2}  .165886{col 39}{space 1}   -1.00{col 48}{space 3}0.326{col 56}{space 4}-.5012545{col 69}{space 3} .1709796
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0096122{col 28}{space 2} .0047196{col 39}{space 1}    2.04{col 48}{space 3}0.049{col 56}{space 4} .0000494{col 69}{space 3} .0191751
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0037376{col 28}{space 2} .0019218{col 39}{space 1}    1.94{col 48}{space 3}0.059{col 56}{space 4}-.0001563{col 69}{space 3} .0076316
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}-.0043595{col 28}{space 2} .0121496{col 39}{space 1}   -0.36{col 48}{space 3}0.722{col 56}{space 4} -.028977{col 69}{space 3} .0202579
{txt}{space 6}resource {c |}{col 16}{res}{space 2}  .006896{col 28}{space 2} .0028236{col 39}{space 1}    2.44{col 48}{space 3}0.019{col 56}{space 4} .0011749{col 69}{space 3} .0126172
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0162623{col 28}{space 2}  .002584{col 39}{space 1}    6.29{col 48}{space 3}0.000{col 56}{space 4} .0110267{col 69}{space 3} .0214979
{txt}{space 5}politydem {c |}{col 16}{res}{space 2}-.0218116{col 28}{space 2} .0481289{col 39}{space 1}   -0.45{col 48}{space 3}0.653{col 56}{space 4}-.1193299{col 69}{space 3} .0757067
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0043624{col 28}{space 2} .0029113{col 39}{space 1}   -1.50{col 48}{space 3}0.143{col 56}{space 4}-.0102612{col 69}{space 3} .0015365
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2}  .065809{col 28}{space 2} .0302217{col 39}{space 1}    2.18{col 48}{space 3}0.036{col 56}{space 4}  .004574{col 69}{space 3} .1270439
{txt}{space 5}intensity {c |}{col 16}{res}{space 2} .0045464{col 28}{space 2} .0218107{col 39}{space 1}    0.21{col 48}{space 3}0.836{col 56}{space 4}-.0396464{col 69}{space 3} .0487391
{txt}{space 5}fullpeace {c |}{col 16}{res}{space 2}-.0459327{col 28}{space 2} .0580837{col 39}{space 1}   -0.79{col 48}{space 3}0.434{col 56}{space 4}-.1636215{col 69}{space 3} .0717561
{txt}{space 5}lnfdiUNt0 {c |}{col 16}{res}{space 2} .1602303{col 28}{space 2}  .096881{col 39}{space 1}    1.65{col 48}{space 3}0.107{col 56}{space 4}-.0360693{col 69}{space 3} .3565299
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 6.991033{col 28}{space 2} 2.235137{col 39}{space 1}    3.13{col 48}{space 3}0.003{col 56}{space 4} 2.462216{col 69}{space 3} 11.51985
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA7, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA7.rtf"'"':tableA7.rtf}
{browse `"tableA7.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA7.txt", label"':seeout}

{com}. 
. 
. 
. *** Table A8 ***        
. *** Table A8 ***        
. *** Table A8 ***        
. 
. use fdifinal_regression, clear
{txt}
{com}. global c1 = "lngdppcPWT lnpopPWT growthPWT tradePWT kaopen resource cumbit_ratify preconflictfdi politydem lnbanks lnduration intensity"
{txt}
{com}. 
. xtscc dv1 victgovt victrebel peace3rd peaceno3rd cease low $c1 if year>1989, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       600
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        85
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    19{txt}){col 68}={res} 768701.31
{txt}maximum lag: {res}2{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.2947

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv1{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .5101396{col 28}{space 2} .3656477{col 39}{space 1}    1.40{col 48}{space 3}0.179{col 56}{space 4}-.2551699{col 69}{space 3} 1.275449
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .1300563{col 28}{space 2} .1608966{col 39}{space 1}    0.81{col 48}{space 3}0.429{col 56}{space 4}-.2067041{col 69}{space 3} .4668167
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .2679092{col 28}{space 2}  .297077{col 39}{space 1}    0.90{col 48}{space 3}0.378{col 56}{space 4}  -.35388{col 69}{space 3} .8896985
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2}-.4110965{col 28}{space 2} .5061648{col 39}{space 1}   -0.81{col 48}{space 3}0.427{col 56}{space 4}-1.470512{col 69}{space 3} .6483186
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0057018{col 28}{space 2} .0521554{col 39}{space 1}   -0.11{col 48}{space 3}0.914{col 56}{space 4}-.1148644{col 69}{space 3} .1034608
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0104255{col 28}{space 2} .0779181{col 39}{space 1}    0.13{col 48}{space 3}0.895{col 56}{space 4}-.1526591{col 69}{space 3}   .17351
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .4914281{col 28}{space 2} .2831489{col 39}{space 1}    1.74{col 48}{space 3}0.099{col 56}{space 4}-.1012094{col 69}{space 3} 1.084066
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.4425473{col 28}{space 2} .1756264{col 39}{space 1}   -2.52{col 48}{space 3}0.021{col 56}{space 4}-.8101376{col 69}{space 3}-.0749571
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0085592{col 28}{space 2} .0049554{col 39}{space 1}    1.73{col 48}{space 3}0.100{col 56}{space 4}-.0018125{col 69}{space 3} .0189309
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0121661{col 28}{space 2} .0055313{col 39}{space 1}    2.20{col 48}{space 3}0.040{col 56}{space 4} .0005889{col 69}{space 3} .0237433
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0128355{col 28}{space 2}  .029185{col 39}{space 1}    0.44{col 48}{space 3}0.665{col 56}{space 4}-.0482495{col 69}{space 3} .0739205
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0040127{col 28}{space 2} .0019345{col 39}{space 1}    2.07{col 48}{space 3}0.052{col 56}{space 4}-.0000361{col 69}{space 3} .0080616
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0114784{col 28}{space 2} .0051306{col 39}{space 1}    2.24{col 48}{space 3}0.037{col 56}{space 4} .0007399{col 69}{space 3} .0222169
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.043072{col 28}{space 2} .2267861{col 39}{space 1}    4.60{col 48}{space 3}0.000{col 56}{space 4} .5684038{col 69}{space 3} 1.517741
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .1848202{col 28}{space 2} .1894864{col 39}{space 1}    0.98{col 48}{space 3}0.342{col 56}{space 4}-.2117794{col 69}{space 3} .5814198
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0187813{col 28}{space 2}  .008551{col 39}{space 1}   -2.20{col 48}{space 3}0.041{col 56}{space 4}-.0366789{col 69}{space 3}-.0008838
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .1033068{col 28}{space 2} .0532629{col 39}{space 1}    1.94{col 48}{space 3}0.067{col 56}{space 4}-.0081738{col 69}{space 3} .2147874
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0778187{col 28}{space 2} .0357011{col 39}{space 1}   -2.18{col 48}{space 3}0.042{col 56}{space 4}-.1525418{col 69}{space 3}-.0030955
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA8, word excel addstat(R-squared, `e(r2_w)') label dec(3) replace 
{txt}{stata `"shellout using `"tableA8.rtf"'"':tableA8.rtf}
{browse `"tableA8.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA8.txt", label"':seeout}

{com}. xtscc dv2 victgovt victrebel peace3rd peaceno3rd cease low $c1 if year>1989, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       564
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        84
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    18{txt}){col 68}={res}3397207.01
{txt}maximum lag: {res}2{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.4163

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .5891345{col 28}{space 2} .2567516{col 39}{space 1}    2.29{col 48}{space 3}0.034{col 56}{space 4} .0497194{col 69}{space 3}  1.12855
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2} .0105719{col 28}{space 2} .1043244{col 39}{space 1}    0.10{col 48}{space 3}0.920{col 56}{space 4}-.2086056{col 69}{space 3} .2297493
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .1785552{col 28}{space 2} .2281936{col 39}{space 1}    0.78{col 48}{space 3}0.444{col 56}{space 4}-.3008617{col 69}{space 3} .6579722
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2} .1807484{col 28}{space 2} .3302986{col 39}{space 1}    0.55{col 48}{space 3}0.591{col 56}{space 4}-.5131832{col 69}{space 3}   .87468
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0125237{col 28}{space 2} .0518916{col 39}{space 1}   -0.24{col 48}{space 3}0.812{col 56}{space 4} -.121544{col 69}{space 3} .0964966
{txt}{space 11}low {c |}{col 16}{res}{space 2} .0980979{col 28}{space 2} .0753721{col 39}{space 1}    1.30{col 48}{space 3}0.209{col 56}{space 4}-.0602529{col 69}{space 3} .2564488
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .5326514{col 28}{space 2}   .23787{col 39}{space 1}    2.24{col 48}{space 3}0.038{col 56}{space 4}  .032905{col 69}{space 3} 1.032398
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}-.5458137{col 28}{space 2} .1800378{col 39}{space 1}   -3.03{col 48}{space 3}0.007{col 56}{space 4}-.9240592{col 69}{space 3}-.1675683
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0177006{col 28}{space 2} .0064683{col 39}{space 1}    2.74{col 48}{space 3}0.014{col 56}{space 4} .0041111{col 69}{space 3} .0312901
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0051245{col 28}{space 2} .0040874{col 39}{space 1}    1.25{col 48}{space 3}0.226{col 56}{space 4}-.0034629{col 69}{space 3} .0137119
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2} .0288871{col 28}{space 2} .0185326{col 39}{space 1}    1.56{col 48}{space 3}0.136{col 56}{space 4}-.0100485{col 69}{space 3} .0678226
{txt}{space 6}resource {c |}{col 16}{res}{space 2} .0049227{col 28}{space 2} .0019628{col 39}{space 1}    2.51{col 48}{space 3}0.022{col 56}{space 4}  .000799{col 69}{space 3} .0090463
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0157234{col 28}{space 2} .0046132{col 39}{space 1}    3.41{col 48}{space 3}0.003{col 56}{space 4} .0060315{col 69}{space 3} .0254154
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.166373{col 28}{space 2} .2131876{col 39}{space 1}    5.47{col 48}{space 3}0.000{col 56}{space 4} .7184826{col 69}{space 3} 1.614264
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .1280906{col 28}{space 2} .1319963{col 39}{space 1}    0.97{col 48}{space 3}0.345{col 56}{space 4}-.1492234{col 69}{space 3} .4054045
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0088864{col 28}{space 2} .0057611{col 39}{space 1}   -1.54{col 48}{space 3}0.140{col 56}{space 4}  -.02099{col 69}{space 3} .0032173
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0912883{col 28}{space 2} .0394008{col 39}{space 1}    2.32{col 48}{space 3}0.032{col 56}{space 4} .0085104{col 69}{space 3} .1740662
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0655897{col 28}{space 2} .0351736{col 39}{space 1}   -1.86{col 48}{space 3}0.079{col 56}{space 4}-.1394867{col 69}{space 3} .0083073
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA8, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA8.rtf"'"':tableA8.rtf}
{browse `"tableA8.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA8.txt", label"':seeout}

{com}. xtscc dv3 victgovt victrebel peace3rd peaceno3rd cease low $c1  if year>1989, fe
{res}
{txt}Regression with Driscoll-Kraay standard errors{col 50}Number of obs     ={res}       533
{txt}Method: {res}Fixed-effects regression{col 50}{txt}Number of groups  ={res}        82
{txt}Group variable (i): {res}id{col 50}{txt}F({res} 17{txt},{res}    17{txt}){col 68}={res}  97434.97
{txt}maximum lag: {res}2{col 50}{txt}Prob > F          =    {res}0.0000
{col 50}{txt}within R-squared  =    {res}0.5021

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}  Drisc/Kraay
{col 1}           dv3{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}victgovt {c |}{col 16}{res}{space 2} .5156606{col 28}{space 2} .2125212{col 39}{space 1}    2.43{col 48}{space 3}0.027{col 56}{space 4} .0672801{col 69}{space 3} .9640411
{txt}{space 5}victrebel {c |}{col 16}{res}{space 2}-.0471513{col 28}{space 2} .0799594{col 39}{space 1}   -0.59{col 48}{space 3}0.563{col 56}{space 4}-.2158509{col 69}{space 3} .1215482
{txt}{space 6}peace3rd {c |}{col 16}{res}{space 2} .0888268{col 28}{space 2} .1619202{col 39}{space 1}    0.55{col 48}{space 3}0.590{col 56}{space 4}-.2527949{col 69}{space 3} .4304485
{txt}{space 4}peaceno3rd {c |}{col 16}{res}{space 2} .6028387{col 28}{space 2} .5527757{col 39}{space 1}    1.09{col 48}{space 3}0.291{col 56}{space 4} -.563416{col 69}{space 3} 1.769093
{txt}{space 9}cease {c |}{col 16}{res}{space 2}-.0184698{col 28}{space 2} .0451507{col 39}{space 1}   -0.41{col 48}{space 3}0.688{col 56}{space 4}-.1137294{col 69}{space 3} .0767897
{txt}{space 11}low {c |}{col 16}{res}{space 2} .1500123{col 28}{space 2} .0838609{col 39}{space 1}    1.79{col 48}{space 3}0.091{col 56}{space 4}-.0269187{col 69}{space 3} .3269432
{txt}{space 4}lngdppcPWT {c |}{col 16}{res}{space 2} .7904729{col 28}{space 2} .2264692{col 39}{space 1}    3.49{col 48}{space 3}0.003{col 56}{space 4} .3126647{col 69}{space 3} 1.268281
{txt}{space 6}lnpopPWT {c |}{col 16}{res}{space 2}  -.65184{col 28}{space 2} .2346503{col 39}{space 1}   -2.78{col 48}{space 3}0.013{col 56}{space 4}-1.146909{col 69}{space 3}-.1567711
{txt}{space 5}growthPWT {c |}{col 16}{res}{space 2} .0123917{col 28}{space 2} .0040299{col 39}{space 1}    3.07{col 48}{space 3}0.007{col 56}{space 4} .0038893{col 69}{space 3} .0208941
{txt}{space 6}tradePWT {c |}{col 16}{res}{space 2} .0072476{col 28}{space 2} .0037479{col 39}{space 1}    1.93{col 48}{space 3}0.070{col 56}{space 4}-.0006598{col 69}{space 3} .0151549
{txt}{space 8}kaopen {c |}{col 16}{res}{space 2}  .011697{col 28}{space 2} .0206315{col 39}{space 1}    0.57{col 48}{space 3}0.578{col 56}{space 4}-.0318316{col 69}{space 3} .0552257
{txt}{space 6}resource {c |}{col 16}{res}{space 2}  .004441{col 28}{space 2} .0015705{col 39}{space 1}    2.83{col 48}{space 3}0.012{col 56}{space 4} .0011275{col 69}{space 3} .0077546
{txt}{space 1}cumbit_ratify {c |}{col 16}{res}{space 2} .0146228{col 28}{space 2} .0036651{col 39}{space 1}    3.99{col 48}{space 3}0.001{col 56}{space 4} .0068902{col 69}{space 3} .0223555
{txt}preconflictfdi {c |}{col 16}{res}{space 2} 1.051021{col 28}{space 2} .1585523{col 39}{space 1}    6.63{col 48}{space 3}0.000{col 56}{space 4} .7165054{col 69}{space 3} 1.385537
{txt}{space 5}politydem {c |}{col 16}{res}{space 2} .0820481{col 28}{space 2} .1091388{col 39}{space 1}    0.75{col 48}{space 3}0.462{col 56}{space 4}-.1482146{col 69}{space 3} .3123108
{txt}{space 7}lnbanks {c |}{col 16}{res}{space 2}-.0049913{col 28}{space 2} .0049543{col 39}{space 1}   -1.01{col 48}{space 3}0.328{col 56}{space 4}-.0154439{col 69}{space 3} .0054614
{txt}{space 4}lnduration {c |}{col 16}{res}{space 2} .0814253{col 28}{space 2} .0309655{col 39}{space 1}    2.63{col 48}{space 3}0.018{col 56}{space 4} .0160939{col 69}{space 3} .1467568
{txt}{space 5}intensity {c |}{col 16}{res}{space 2}-.0269861{col 28}{space 2} .0403168{col 39}{space 1}   -0.67{col 48}{space 3}0.512{col 56}{space 4} -.112047{col 69}{space 3} .0580749
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}


{com}. outreg2 using tableA8, word excel addstat(R-squared, `e(r2_w)') label dec(3)  
{txt}{stata `"shellout using `"tableA8.rtf"'"':tableA8.rtf}
{browse `"tableA8.xml"'}
{browse `"E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder"' :dir}{com} : {txt}{stata `"seeout using "tableA8.txt", label"':seeout}

{com}. 
. 
. 
. *************
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}E:\DB Academy\Research\Adcademia\Research\Project\Now Working\FDI and War\FPA\replication\New folder\FPA_replication_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}26 Apr 2020, 18:30:11
{txt}{.-}
{smcl}
{txt}{sf}{ul off}